TestingUtils.compareWithCreatedOMElement(result);
}
public void testDispatchWithSOAPBody() throws Exception {
DispatchPhase dp = new DispatchPhase();
dp.addHandler(new SOAPMessageBodyBasedDispatcher());
serverConfig.getInFlowPhases().set(1, dp);
ServiceClient sender = getClient(Echo.SERVICE_NAME, Echo.ECHO_OM_ELEMENT_OP_NAME);
OMElement payload = TestingUtils.createDummyOMElement(sender.getOptions().getTo().getAddress());
OMElement result = sender.sendReceive(payload);