Adding multiple Responses to stub client

LegacyForumLegacyForum Posts: 1,669 ✭✭
edited December 2016 in SOAtest
while adding multiple responses to stub client, I see that I can add only one element as part of the input.

Are there any ways where i can add multiple responses for multiple elements.

Thanks,
Ash...
Tagged:

Comments

  • LegacyForumLegacyForum Posts: 1,669 ✭✭
    Dear Ash,

    To add more elements you want to match, simply add an "and" to the end of the XPath, and start a new XPath after it. It will accept there being multiple things you are checking. If you have any additional questions, feel free to add them to your next post.

    -Baxter Campbell

    EX:
    /*[local-name(.)="Envelope"]/*[local-name(.)="Body"]/*[local-name(.)="getItemByTitle"]/*[local-name(.)="titleKeyword"]/text()="Java"
    and
    local-name(/*[local-name(.)="Envelope"]/*[local-name(.)="Body"]/*)="getItemByTitle"
  • LegacyForumLegacyForum Posts: 1,669 ✭✭
    edited December 2016

    Hi Baxter,

    Thanks for the response and help.

    I am now able to add multiple elements.

    Thanks & Regards,
    Ash...
Sign In or Register to comment.