XPATH : Extract data from Soap Message

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