log.debug("Result Body : " + reply);
XMLStreamReader reader = StAXUtils.createXMLStreamReader(new StringReader((String) reply));
SOAPEnvelope env = new StAXSOAPModelBuilder(reader).getSOAPEnvelope();
if (env != null) {
AXIOMXPath xpath = new AXIOMXPath("//my:myValue");
xpath.addNamespace("my", "http://localhost/axis2/services/EchoXMLService");
Object result = xpath.evaluate(env);
if (result != null && result instanceof OMElement) {
assertEquals("omTextValue", ((OMElement) result).getText());
}
}