Examples of echoInteger()


Examples of org.apache.notgeronimo.itests.naming.common.webservice.interop.InteropTestPortType.echoInteger()

public class Test {

    public void testWebServiceLookup() throws Exception {
        InteropLab interopLab = (InteropLab) new InitialContext().lookup("java:comp/env/service/InteropLab");
        InteropTestPortType interopTestPortType = interopLab.getinteropTestPort();
        int result = interopTestPortType.echoInteger(1);
        if (result != 1) {
            throw new Exception("Result was not 1 but " + result);
        }
    }
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.