javax.xml.stream.XMLStreamReader parser = XMLInputFactory.newInstance().createXMLStreamReader(stream);
OMXMLParserWrapper builder = new StAXSOAPModelBuilder(parser, null);
SOAPEnvelope resEnv = (SOAPEnvelope) builder.getDocumentElement();
OMElement resElementtobe = resEnv.getBody().getFirstElement();
XMLComparator comparator = new XMLComparator();
compare = comparator.compare(retEle,resElementtobe);
}
return compare;
}