SOAPMessage soapReqMsg = MessageFactory.newInstance().createMessage(null, is);
assertNotNull(soapReqMsg);
TestDispatchImpl<SOAPMessage> dispImpl =
new TestDispatchImpl<SOAPMessage>(bus, epr, Service.Mode.MESSAGE, SOAPMessage.class, executor);
Response response = dispImpl.invokeAsync(soapReqMsg);
assertNotNull(response);
SOAPMessage soapRespMsg = (SOAPMessage)response.get();
assertEquals("Message should contain TestSOAPInputMessage",
soapRespMsg.getSOAPBody().getTextContent(), "TestSOAPInputMessage");
}