Search in sources :

Example 6 with EchoRequest

use of org.eclipse.scout.jaxws.consumer.jaxwsconsumertestservice.EchoRequest in project scout.rt by eclipse.

the class AbstractJaxWsClientTest method assertSendEcho.

protected void assertSendEcho(JaxWsConsumerTestServicePortType port, int i) {
    final String messageSent = "Test Message " + i;
    EchoRequest req = new EchoRequest();
    req.setMessage(messageSent);
    EchoResponse response = port.echo(req);
    assertNotNull(response);
    assertEquals(messageSent, response.getMessage());
}
Also used : EchoResponse(org.eclipse.scout.jaxws.consumer.jaxwsconsumertestservice.EchoResponse) EchoRequest(org.eclipse.scout.jaxws.consumer.jaxwsconsumertestservice.EchoRequest)

Aggregations

EchoRequest (org.eclipse.scout.jaxws.consumer.jaxwsconsumertestservice.EchoRequest)6 Test (org.junit.Test)5 JaxWsConsumerTestServicePortType (org.eclipse.scout.jaxws.consumer.jaxwsconsumertestservice.JaxWsConsumerTestServicePortType)4 SocketTimeoutException (java.net.SocketTimeoutException)3 WebServiceException (javax.xml.ws.WebServiceException)3 SetHeaderRequest (org.eclipse.scout.jaxws.consumer.jaxwsconsumertestservice.SetHeaderRequest)3 SleepRequest (org.eclipse.scout.jaxws.consumer.jaxwsconsumertestservice.SleepRequest)3 EchoResponse (org.eclipse.scout.jaxws.consumer.jaxwsconsumertestservice.EchoResponse)2 SetHeaderResponse (org.eclipse.scout.jaxws.consumer.jaxwsconsumertestservice.SetHeaderResponse)1 JaxWsImplementorSpecifics (org.eclipse.scout.rt.server.jaxws.implementor.JaxWsImplementorSpecifics)1