Package test.wsdl.interop3.compound2

Examples of test.wsdl.interop3.compound2.SoapInteropCompound2PortType


            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
        }
        assertTrue("binding is null", binding != null);

        try {
            Document doc = new Document();
            doc.setValue("some value");
            doc.setID("myID");
            Document newDoc = binding.echoDocument(doc);

            assertEquals("Documents didn't match!", newDoc, doc);

            Person person = new Person();
            person.setAge(33);
View Full Code Here


            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
        }
        assertTrue("binding is null", binding != null);

        try {
            Document doc = new Document();
            doc.setValue("some value");
            doc.setID("myID");
            Document newDoc = binding.echoDocument(doc);

            assertEquals("Documents didn't match!", newDoc, doc);

            Person person = new Person();
            person.setAge(33);
View Full Code Here

            doc.setID("myID");
            Document newDoc = binding.echoDocument(doc);

            assertEquals("Documents didn't match!", newDoc, doc);

            Person person = new Person();
            person.setAge(33);
            person.setMale(true);
            person.setName("Frodo");
            person.setID(2.345F);
            Person newPerson = binding.echoPerson(person);

            assertEquals("Returned Person didn't match!", newPerson, person);
        }
        catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
View Full Code Here

            doc.setID("myID");
            Document newDoc = binding.echoDocument(doc);

            assertEquals("Documents didn't match!", newDoc, doc);

            Person person = new Person();
            person.setAge(33);
            person.setMale(true);
            person.setName("Frodo");
            person.setID(2.345F);
            Person newPerson = binding.echoPerson(person);

            assertEquals("Returned Person didn't match!", newPerson, person);
        }
        catch (java.rmi.RemoteException re) {
            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
View Full Code Here

    public void testStep3() {
        SoapInteropCompound2PortType binding;
        try {
            if (url != null) {
                binding = new Compound2Locator().getSoapInteropCompound2Port(url);
            } else {
                binding = new Compound2Locator().getSoapInteropCompound2Port();
            }
        }
        catch (javax.xml.rpc.ServiceException jre) {
            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
        }
View Full Code Here

    public void testStep3() {
        SoapInteropCompound2PortType binding;
        try {
            if (url != null) {
                binding = new Compound2Locator().getSoapInteropCompound2Port(url);
            } else {
                binding = new Compound2Locator().getSoapInteropCompound2Port();
            }
        }
        catch (javax.xml.rpc.ServiceException jre) {
            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
        }
View Full Code Here

    public void testStep3() {
        SoapInteropCompound2PortType binding;
        try {
            if (url != null) {
                binding = new Compound2Locator().getSoapInteropCompound2Port(url);
            } else {
                binding = new Compound2Locator().getSoapInteropCompound2Port();
            }
        }
        catch (javax.xml.rpc.ServiceException jre) {
            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
        }
View Full Code Here

    public void testStep3() {
        SoapInteropCompound2Binding binding;
        try {
            if (url != null) {
                binding = new Compound2Locator().getSoapInteropCompound2Port(url);
            } else {
                binding = new Compound2Locator().getSoapInteropCompound2Port();
            }
        }
        catch (javax.xml.rpc.ServiceException jre) {
            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
        }
View Full Code Here

    protected void setUp() throws Exception {
    }

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

        try {
            Employee emp = new Employee();
            Person person = new Person();
            person.setMale(true);
            person.setName("Joe Blow");
            emp.setPerson(person);
            emp.setID(314159);
            emp.setSalary(100000.50);
           
            Employee result = binding.echoEmployee(emp);

            assertTrue("Results did not match", result.equals(emp));

        }
        catch (java.rmi.RemoteException re) {
View Full Code Here

    protected void setUp() throws Exception {
    }

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

        try {
            Employee emp = new Employee();
            Person person = new Person();
            person.setMale(true);
            person.setName("Joe Blow");
            emp.setPerson(person);
            emp.setID(314159);
            emp.setSalary(100000.50);
           
            Employee result = binding.echoEmployee(emp);

            assertTrue("Results did not match", result.equals(emp));

        }
        catch (java.rmi.RemoteException re) {
View Full Code Here

TOP

Related Classes of test.wsdl.interop3.compound2.SoapInteropCompound2PortType

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.