FileDocCategorySizeDatePackage
GatewayServiceTestCase.javaAPI DocApache Axis 1.43247Sat Apr 22 18:57:28 BST 2006test.wsdl.gateway

GatewayServiceTestCase

public class GatewayServiceTestCase extends TestCase
GatewayServiceTestCase.java This file was auto-generated from WSDL by the Apache Axis WSDL2Java emitter.

Fields Summary
Constructors Summary
public GatewayServiceTestCase(String name)

        super(name);
    
Methods Summary
public voidtest1GatewayTest1()

        test.wsdl.gateway.Gateway binding;
        try {
            binding = new test.wsdl.gateway.GatewayServiceLocator().getGateway();
        }
        catch (javax.xml.rpc.ServiceException jre) {
            if(jre.getLinkedCause()!=null)
                jre.getLinkedCause().printStackTrace();
            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
        }
        assertTrue("binding is null", binding != null);

        // Test operation
        test.wsdl.gateway.MyClass myClass = new test.wsdl.gateway.MyClass();
        myClass.setValues(new String[][]{{"hello"}});
        java.lang.String value = null;
        value = binding.test1(myClass);
        // TBD - validate results
    
public voidtest2GatewayTest2()

        test.wsdl.gateway.Gateway binding;
        try {
            binding = new test.wsdl.gateway.GatewayServiceLocator().getGateway();
        }
        catch (javax.xml.rpc.ServiceException jre) {
            if(jre.getLinkedCause()!=null)
                jre.getLinkedCause().printStackTrace();
            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
        }
        assertTrue("binding is null", binding != null);

        // Test operation
        test.wsdl.gateway.MyClass response = null;
        response = binding.test2();
        assertTrue(response.getValues()!=null);
        System.out.println("Response cell 1,1="+response.getValues()[1][1]);
    
public voidtest3GatewayTest3()

        test.wsdl.gateway.Gateway binding;
        try {
            binding = new test.wsdl.gateway.GatewayServiceLocator().getGateway();
        }
        catch (javax.xml.rpc.ServiceException jre) {
            if(jre.getLinkedCause()!=null)
                jre.getLinkedCause().printStackTrace();
            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
        }
        assertTrue("binding is null", binding != null);

        // Test operation
        java.lang.String[][] value = null;
        value = binding.test3();
        // TBD - validate results
    
public voidtest4GatewayTest4()

        test.wsdl.gateway.Gateway binding;
        try {
            binding = new test.wsdl.gateway.GatewayServiceLocator().getGateway();
        }
        catch (javax.xml.rpc.ServiceException jre) {
            if(jre.getLinkedCause()!=null)
                jre.getLinkedCause().printStackTrace();
            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
        }
        assertTrue("binding is null", binding != null);

        // Test operation
        java.lang.String value = null;
        value = binding.test4(new java.lang.String[0][0]);
        // TBD - validate results