assertNull(odeMsg2.getPart("DocumentumRequestHeader"));
}
/** Make sure hello world request parses correctly. */
public void testHelloWorldRequest() throws Exception {
SoapMessageConverter portmaper1 = new SoapMessageConverter(wsdlHW, new QName(wsdlHW
.getTargetNamespace(), "HelloService"), "HelloPort");
XMLStreamReader sr = XMLInputFactory.newInstance().createXMLStreamReader(
getClass().getResourceAsStream("/HelloWorldRequest.soap"));
StAXSOAPModelBuilder builder = OMXMLBuilderFactory.createStAXSOAPModelBuilder(new SOAP11Factory(), sr);
SOAPEnvelope se = builder.getSOAPEnvelope();
Element msg = DOMUtils.stringToDOM("<message/>");
MemBackedMessageImpl odeMsg = new MemBackedMessageImpl(null, msg, null, false);
portmaper1.parseSoapRequest(odeMsg, se, opHello);
System.out.println(DOMUtils.domToString(msg));
}