HTTPTransportReceiver receiver = new HTTPTransportReceiver();
//This step is needed to skip the headers :)
receiver.parseTheHeaders(replyMessage, false);
XMLStreamReader requiredMessageParser = XMLInputFactory.newInstance().createXMLStreamReader(new FileReader(file));
OMXMLParserWrapper requiredMessageBuilder = new StAXSOAPModelBuilder(requiredMessageParser,null);
requiredMessageEnvelope = (SOAPEnvelope) requiredMessageBuilder.getDocumentElement();
XMLStreamReader replyMessageParser = XMLInputFactory.newInstance().createXMLStreamReader(replyMessage);
OMXMLParserWrapper replyMessageBuilder = new StAXSOAPModelBuilder(replyMessageParser,null);
replyMessageEnvelope = (SOAPEnvelope) replyMessageBuilder.getDocumentElement();
SOAPComparator soapComparator = new SOAPComparator();
//ignore elements that belong to the addressing namespace
soapComparator.addIgnorableNamespace("http://schemas.xmlsoap.org/ws/2004/08/addressing");
// ////////////////////////////////////////////////////