FileDocCategorySizeDatePackage
ConfiguratorServiceTestCase.javaAPI DocApache Axis 1.42163Sat Apr 22 18:56:52 BST 2006org.apache.axis.wsi.scm.configurator

ConfiguratorServiceTestCase

public class ConfiguratorServiceTestCase extends TestCase
ConfiguratorServiceTestCase.java This file was auto-generated from WSDL by the Apache Axis 1.2alpha Jan 15, 2004 (11:28:11 EST) WSDL2Java emitter.

Fields Summary
Constructors Summary
public ConfiguratorServiceTestCase(String name)

        super(name);
    
Methods Summary
public voidtest1ConfiguratorPortGetConfigurationOptions()

        org.apache.axis.wsi.scm.configurator.ConfiguratorBindingStub binding;
        try {
            binding = (org.apache.axis.wsi.scm.configurator.ConfiguratorBindingStub)
                          new org.apache.axis.wsi.scm.configurator.ConfiguratorServiceLocator().getConfiguratorPort();
        }
        catch (javax.xml.rpc.ServiceException jre) {
            if(jre.getLinkedCause()!=null)
                jre.getLinkedCause().printStackTrace();
            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
        }
        assertNotNull("binding is null", binding);

        // Time out after a minute
        binding.setTimeout(60000);

        // Test operation
        try {
            org.apache.axis.wsi.scm.configurator.ConfigOptionsType value = null;
            value = binding.getConfigurationOptions(true);
        }
        catch (org.apache.axis.wsi.scm.configurator.ConfiguratorFailedFault e1) {
            throw new junit.framework.AssertionFailedError("configuratorFailedFault Exception caught: " + e1);
        }
            // TBD - validate results