SOAP Response element extract

LegacyForumLegacyForum Posts: 1,669 ✭✭
edited December 2016 in SOAtest

From the soap response , how do I extract the only required values and write it separate file .

ex: my soap response contains

<name> Puneeth </name>
<SSN> 143333 </SSN>
<age> 24 </age>

so here I just want to fetch the ssn and write to output file , rather than writing all details .



  • LegacyForumLegacyForum Posts: 1,669 ✭✭
    Hey Jagath,

    I'd be happy to help you with this.

    To achieve the goal you asked about, simply chain an XML transformer tool to the response SOAP envelope, have the transformer tool extract the desired element, and then chain a write file tool to the XML transformer tool to write that element to a file.

    Hope this helps! Please let me know if issues persist and/or if there are any additional questions...

  • LegacyForumLegacyForum Posts: 1,669 ✭✭
    Hi Adam,

    Thank you very much , it is working as expected .
Sign In or Register to comment.