String expr = "/SOAP-ENV:Envelope | /soap:Envelope | /soap_2003_05:Envelope";
Node ndSoapEnv = (Node)xpath.evaluate(expr,dom,XPathConstants.NODE);
if (ndSoapEnv != null) {
this.setWasSoap(true);
nsSoapUri = ndSoapEnv.getNamespaceURI();
nsSoapPfx = ndSoapEnv.lookupPrefix(nsSoapUri);
expr = "//SOAP-ENV:Body | //soap:Body | //soap_2003_05:Body";
Node ndSoapBody = (Node)xpath.evaluate(expr,ndSoapEnv,XPathConstants.NODE);
if (ndSoapBody == null) {
throw new OwsException(OwsException.OWSCODE_MissingParameterValue,
"Envelope","The SOAP body was missing.");