SOAPEnvelope soapEnvelope = getSOAPEnvelope();
if (soapEnvelope == null) {
throw new OMException("No SOAPHeader present !!");
}
envelopeNamespace = soapEnvelope.findNamespace(SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI, "");
if (envelopeNamespace == null) {
envelopeNamespace = getSOAPEnvelope().findNamespace(SOAP11Constants.SOAP_ENVELOPE_NAMESPACE_URI, "");
if (envelopeNamespace == null) {
throw new OMException("Invalid SOAP message. Doesn't have proper namespace declaration !!");
} else {