Package services.headerout

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

Related Classes of services.headerout.EchoPortType

Copyright © 2018 www.massapicom. 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.