Examples of EchoPortType


Examples of services.echo.EchoPortType

    public void testService() throws Exception
    {
        EchoService service = new EchoService();
       
        EchoPortType echo = service.getEchoHttpPort();
        assertEquals("echo", echo.echo("echo"));
    }
View Full Code Here

Examples of services.headerout.EchoPortType

    public void testService() throws Exception
    {
        EchoService service = new EchoService();
       
        EchoPortType client = service.getEchoHttpPort();
       
        Holder<EchoResponse> out2 = new Holder<EchoResponse>();
        Holder<EchoResponse> outHeader = new Holder<EchoResponse>();
       
        Echo echo = new Echo();
        echo.setText("hi");
       
        Echo echoHeader = new Echo();
        echoHeader.setText("header");
       
        assertEquals("hi", client.echo(echo, echoHeader, out2, outHeader).getText());
        assertEquals("header", outHeader.value.getText());
        assertEquals("hi", out2.value.getText());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.