Examples of SOAPStruct


Examples of samples.echo.SOAPStruct

    }

    // Like above without multiref
    public void testArrayM() throws Exception {
        SOAPStruct[] s = new SOAPStruct[] {
                new SOAPStruct(),
                new SOAPStruct(),
                new SOAPStruct()};
            s[0].setVarInt(1);
            s[0].setVarString("one");
            s[0].setVarFloat(1.1F);
            s[1].setVarInt(2);
            s[1].setVarString("two");
View Full Code Here

Examples of samples.echo.SOAPStruct

                    s, true);
    }
    // Struct within Struct
    public void testStructStruct() throws Exception {

        SOAPStruct s = new samples.echo.SOAPStruct();
        s.setVarInt(1);
        s.setVarString("one");
        s.setVarFloat(1.1F);
        SOAPStructStruct ss = new SOAPStructStruct();
        ss.setVarString("hello");
        ss.setVarInt(2);
        ss.setVarFloat(2.2F);
        ss.setVarStruct(s);
View Full Code Here

Examples of samples.echo.SOAPStruct

                    "</whatever>" , ss, true);
    }

    // Struct within Struct
    public void testStructStruct2() throws Exception {
        SOAPStruct s = new samples.echo.SOAPStruct();
        s.setVarInt(1);
        s.setVarString("one");
        s.setVarFloat(1.1F);
        SOAPStructStruct ss = new SOAPStructStruct();
        ss.setVarString("hello");
        ss.setVarInt(2);
        ss.setVarFloat(2.2F);
        ss.setVarStruct(s);
View Full Code Here

Examples of test.wsdl.interop3.docLit.xsd.SOAPStruct

            assertEquals("Array members at index " + i + " differ",
                         strArray[i],
                         resArray[i]);
        }

        SOAPStruct struct = new SOAPStruct();
        struct.setVarFloat(3.14159F);
        struct.setVarInt(69);
        struct.setVarString("Struct-o-rama");

        assertTrue("Structs weren't equal",
                   struct.equals(binding.echoStruct(struct)));
       
        // test echoVoid
        binding.echoVoid();
    }
View Full Code Here

Examples of test.wsdl.interop3.docLit.xsd.SOAPStruct

            assertEquals("Array members at index " + i + " differ",
                         strArray[i],
                         resArray[i]);
        }

        SOAPStruct struct = new SOAPStruct();
        struct.setVarFloat(3.14159F);
        struct.setVarInt(69);
        struct.setVarString("Struct-o-rama");

        assertTrue("Structs weren't equal",
                   struct.equals(binding.echoStruct(struct)));
       
        // test echoVoid
        binding.echoVoid();
    }
View Full Code Here

Examples of test.wsdl.interop3.docLit.xsd.SOAPStruct

            assertEquals("Array members at index " + i + " differ",
                         strArray[i],
                         resArray[i]);
        }

        SOAPStruct struct = new SOAPStruct();
        struct.setVarFloat(3.14159F);
        struct.setVarInt(69);
        struct.setVarString("Struct-o-rama");

        assertTrue("Structs weren't equal",
                   struct.equals(binding.echoStruct(struct)));
       
        // test echoVoid
        binding.echoVoid();
    }
View Full Code Here

Examples of test.wsdl.interop3.docLit.xsd.SOAPStruct

            assertEquals("Array members at index " + i + " differ",
                         strArray[i],
                         resArray[i]);
        }

        SOAPStruct struct = new SOAPStruct();
        struct.setVarFloat(3.14159F);
        struct.setVarInt(69);
        struct.setVarString("Struct-o-rama");

        assertTrue("Structs weren't equal",
                   struct.equals(binding.echoStruct(struct)));
    }
View Full Code Here

Examples of test.wsdl.interop3.docLitParam.xsd.SOAPStruct

            assertEquals("Array members at index " + i + " differ",
                         strArray[i],
                         resArray[i]);
        }

        SOAPStruct struct = new SOAPStruct();
        struct.setVarFloat(3.14159F);
        struct.setVarInt(69);
        struct.setVarString("Struct-o-rama");

        assertTrue("Structs weren't equal",
                   struct.equals(binding.echoStruct(struct)));
    }
View Full Code Here

Examples of test.wsdl.interop3.docLitParam.xsd.SOAPStruct

            assertEquals("Array members at index " + i + " differ",
                         strArray[i],
                         resArray[i]);
        }

        SOAPStruct struct = new SOAPStruct();
        struct.setVarFloat(3.14159F);
        struct.setVarInt(69);
        struct.setVarString("Struct-o-rama");

        assertTrue("Structs weren't equal",
                   struct.equals(binding.echoStruct(struct)));
    }
View Full Code Here

Examples of test.wsdl.interop3.import2.xsd.SOAPStruct

            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) {
            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.