Wfpxzesnngixe
New Member
I have to select specific node from the WCF request \[code\]OperationContext.Current.RequestContext.RequestMessage.ToString()\[/code\]The problem is that namespaces are changeing prefixes between requests:So once it is:\[code\]<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> <s:Body> </s:Body></s:Envelope>\[/code\]and other time it is:\[code\]<soapenv:Envelope xmlns:mes="MessageContracts" xmlns:req="RequestMessages" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> </soapenv:Body></soapenv:Envelope>\[/code\]How can I assure that I always get Body node correctly?