Examples of SoapInteropImport1PortType


Examples of test.wsdl.interop3.import1.definitions.SoapInteropImport1PortType

    public Import1TestCase(String name) {
        super(name);
    }

    public void testStep3() {
        SoapInteropImport1PortType binding;
        try {
            if (url == null) {
                binding = new Import1Locator().getSoapInteropImport1Port();
            } else {
                binding = new Import1Locator().getSoapInteropImport1Port(url);
            }
        }
        catch (javax.xml.rpc.ServiceException jre) {
            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
        }
        assertTrue("binding is null", binding != null);

        try {
            String value = "import1 test string";
            String result = binding.echoString(value);
            assertEquals("Strings didn't match", value, result);
        }
        catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
        }
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.