Pradeep0308
asked on
Xpath Needed
Hi,
I have a soap response shown below:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<s:Fault>
<faultcode>s:Server& lt;/faultc ode>
<faultstring>Error Error Error</faultstring>
<detail>
<ProcessingFault xmlns="http:/abcd.com/Invoice/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Code>1101</Code& gt;
<Message>Error Error Error</Message>
</ProcessingFault>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>
I need a xpath to get the value of the tag named <Message>. How can I achieve that?
Thanks & Regards
Pradeep
I have a soap response shown below:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<s:Fault>
<faultcode>s:Server&
<faultstring>Error Error Error</faultstring>
<detail>
<ProcessingFault xmlns="http:/abcd.com/Invoice/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Code>1101</Code&
<Message>Error Error Error</Message>
</ProcessingFault>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>
I need a xpath to get the value of the tag named <Message>. How can I achieve that?
Thanks & Regards
Pradeep
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.