Examples of SoapInteropImport2PortType


Examples of test.wsdl.interop3.import2.definitions.SoapInteropImport2PortType

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

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

        try {
            SOAPStruct value = new SOAPStruct();
            value.setVarString("import2 string");
            value.setVarInt(5);
            value.setVarFloat(4.5F);
            SOAPStruct result = binding.echoStruct(value);
            assertEquals("String members didn't match", value.getVarString(), result.getVarString());
            assertEquals("int members didn't match", value.getVarInt(), result.getVarInt());
            //assertEquals("float members didn't match", value.getVarFloat(), result.getVarFloat());
        }
        catch (java.rmi.RemoteException 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.