EDN Admin
Well-known member
Hi,
I have got the following soap message and would like to know how to write xpath query to extract the GetNewGUIDResult?
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/ <br/>
<s:Header><br/>
<ActivityId CorrelationId="06996737-224f-4004-9dad-042222b161fc" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics b89cdee8-18b4-4ea0-a5a1-7b10ace1b23e</ActivityId><br/>
</s:Header><br/>
<s:Body><br/>
<GetNewGUIDResponse xmlns="http://bank.co.com/Service/2011_01/Service <br/>
<GetNewGUIDResult>125959</GetNewGUIDResult><br/>
</GetNewGUIDResponse><br/>
</s:Body><br/>
</s:Envelope>
I tried some some xpath commands but they are giving exceptions. Also I am not sure about the usage of xmlnamespacemanager.
Thanks
Amare
<br/>
<br/>
View the full article
I have got the following soap message and would like to know how to write xpath query to extract the GetNewGUIDResult?
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/ <br/>
<s:Header><br/>
<ActivityId CorrelationId="06996737-224f-4004-9dad-042222b161fc" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics b89cdee8-18b4-4ea0-a5a1-7b10ace1b23e</ActivityId><br/>
</s:Header><br/>
<s:Body><br/>
<GetNewGUIDResponse xmlns="http://bank.co.com/Service/2011_01/Service <br/>
<GetNewGUIDResult>125959</GetNewGUIDResult><br/>
</GetNewGUIDResponse><br/>
</s:Body><br/>
</s:Envelope>
I tried some some xpath commands but they are giving exceptions. Also I am not sure about the usage of xmlnamespacemanager.
Thanks
Amare
<br/>
<br/>
View the full article