EchoString request = factory.createEchoString();
request.setInput("SYNC JAXB PAYLOAD TEST");
// Invoke the Dispatch<Object>
TestLogger.logger.debug(">> Invoking sync Dispatch with JAX-B Parameter");
EchoStringResponse response = (EchoStringResponse) dispatchPayload.invoke(request);
assertNotNull(response);
TestLogger.logger.debug(">> Response content: " + response.getEchoStringReturn());
assertTrue("[ERROR] - Response object was null", response != null);
assertTrue("[ERROR] - No content in response object", response.getEchoStringReturn() != null);
assertTrue("[ERROR] - Zero length content in response", response.getEchoStringReturn().length() > 0);
}