Source response = callbackHandler.getValue();
assertNotNull("dispatch invoke returned null", response);
// Prepare the response content for checking
XMLStreamReader reader = inputFactory.createXMLStreamReader(response);
Reader2Writer r2w = new Reader2Writer(reader);
String responseText = r2w.getAsString();
TestLogger.logger.debug(responseText);
// Check to make sure the content is correct
assertTrue(!responseText.contains("soap"));
assertTrue(!responseText.contains("Envelope"));