Methods Summary |
---|
public void | test10Schema2ServiceEchoNonPositiveIntegerTest()
test.wsdl.schema2.Schema2ServiceSoapBindingStub binding;
try {
binding = (test.wsdl.schema2.Schema2ServiceSoapBindingStub)
new test.wsdl.schema2.Schema2ServiceLocator().getSchema2Service();
}
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
java.math.BigInteger value = null;
value = binding.echoNonPositiveIntegerTest(new java.math.BigInteger("678"));
// TBD - validate results
|
public void | test11Schema2ServiceEchoNonNegativeIntegerTest()
test.wsdl.schema2.Schema2ServiceSoapBindingStub binding;
try {
binding = (test.wsdl.schema2.Schema2ServiceSoapBindingStub)
new test.wsdl.schema2.Schema2ServiceLocator().getSchema2Service();
}
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
java.math.BigInteger value = null;
value = binding.echoNonNegativeIntegerTest(new java.math.BigInteger("8910"));
// TBD - validate results
|
public void | test12Schema2ServiceEchoPositiveIntegerTest()
test.wsdl.schema2.Schema2ServiceSoapBindingStub binding;
try {
binding = (test.wsdl.schema2.Schema2ServiceSoapBindingStub)
new test.wsdl.schema2.Schema2ServiceLocator().getSchema2Service();
}
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
java.math.BigInteger value = null;
value = binding.echoPositiveIntegerTest(new java.math.BigInteger("91011"));
// TBD - validate results
|
public void | test13Schema2ServiceEchoNegativeIntegerTest()
test.wsdl.schema2.Schema2ServiceSoapBindingStub binding;
try {
binding = (test.wsdl.schema2.Schema2ServiceSoapBindingStub)
new test.wsdl.schema2.Schema2ServiceLocator().getSchema2Service();
}
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
java.math.BigInteger value = null;
value = binding.echoNegativeIntegerTest(new java.math.BigInteger("111213"));
// TBD - validate results
|
public void | test14Schema2ServiceEchoTimeTest()
test.wsdl.schema2.Schema2ServiceSoapBindingStub binding;
try {
binding = (test.wsdl.schema2.Schema2ServiceSoapBindingStub)
new test.wsdl.schema2.Schema2ServiceLocator().getSchema2Service();
}
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
java.util.Calendar value = null;
value = binding.echoTimeTest(java.util.Calendar.getInstance());
// TBD - validate results
|
public void | test15Schema2ServiceEchoDateTest()
test.wsdl.schema2.Schema2ServiceSoapBindingStub binding;
try {
binding = (test.wsdl.schema2.Schema2ServiceSoapBindingStub)
new test.wsdl.schema2.Schema2ServiceLocator().getSchema2Service();
}
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
java.util.Calendar value = null;
value = binding.echoDateTest(java.util.Calendar.getInstance());
// TBD - validate results
|
public void | test16Schema2ServiceEchoDocumentTest()
test.wsdl.schema2.Schema2ServiceSoapBindingStub binding;
try {
binding = (test.wsdl.schema2.Schema2ServiceSoapBindingStub)
new test.wsdl.schema2.Schema2ServiceLocator().getSchema2Service();
}
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
Document value = new Document();
value.set_value("XYZ");
value.setID("ID#1");
value = binding.echoDocument(value);
// TBD - validate results
assertEquals("ID#1",value.getID());
assertEquals("XYZ",value.get_value());
|
public void | test1Schema2ServiceEchoLanguageTypeTest()
test.wsdl.schema2.Schema2ServiceSoapBindingStub binding;
try {
binding = (test.wsdl.schema2.Schema2ServiceSoapBindingStub)
new test.wsdl.schema2.Schema2ServiceLocator().getSchema2Service();
}
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
java.lang.String value = null;
value = binding.echoLanguageTypeTest(new java.lang.String("ABC"));
// TBD - validate results
|
public void | test2Schema2ServiceEchoTokenTypeTest()
test.wsdl.schema2.Schema2ServiceSoapBindingStub binding;
try {
binding = (test.wsdl.schema2.Schema2ServiceSoapBindingStub)
new test.wsdl.schema2.Schema2ServiceLocator().getSchema2Service();
}
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
java.lang.String value = null;
value = binding.echoTokenTypeTest(new java.lang.String("ABC"));
// TBD - validate results
|
public void | test3Schema2ServiceEchoNameTypeTest()
test.wsdl.schema2.Schema2ServiceSoapBindingStub binding;
try {
binding = (test.wsdl.schema2.Schema2ServiceSoapBindingStub)
new test.wsdl.schema2.Schema2ServiceLocator().getSchema2Service();
}
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
java.lang.String value = null;
value = binding.echoNameTypeTest(new java.lang.String("ABC"));
// TBD - validate results
|
public void | test4Schema2ServiceEchoNCNameTypeTest()
test.wsdl.schema2.Schema2ServiceSoapBindingStub binding;
try {
binding = (test.wsdl.schema2.Schema2ServiceSoapBindingStub)
new test.wsdl.schema2.Schema2ServiceLocator().getSchema2Service();
}
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
java.lang.String value = null;
value = binding.echoNCNameTypeTest(new java.lang.String("ABC"));
// TBD - validate results
|
public void | test5Schema2ServiceEchoIDTypeTest()
test.wsdl.schema2.Schema2ServiceSoapBindingStub binding;
try {
binding = (test.wsdl.schema2.Schema2ServiceSoapBindingStub)
new test.wsdl.schema2.Schema2ServiceLocator().getSchema2Service();
}
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
java.lang.String value = null;
value = binding.echoIDTypeTest(new java.lang.String("ABC"));
// TBD - validate results
|
public void | test6Schema2ServiceEchoUnsignedShortTest()
test.wsdl.schema2.Schema2ServiceSoapBindingStub binding;
try {
binding = (test.wsdl.schema2.Schema2ServiceSoapBindingStub)
new test.wsdl.schema2.Schema2ServiceLocator().getSchema2Service();
}
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
int value = -3;
value = binding.echoUnsignedShortTest(123);
// TBD - validate results
|
public void | test7Schema2ServiceEchoUnsignedIntTest()
test.wsdl.schema2.Schema2ServiceSoapBindingStub binding;
try {
binding = (test.wsdl.schema2.Schema2ServiceSoapBindingStub)
new test.wsdl.schema2.Schema2ServiceLocator().getSchema2Service();
}
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
long value = -3;
value = binding.echoUnsignedIntTest(234);
// TBD - validate results
|
public void | test8Schema2ServiceEchoUnsignedByteTest()
test.wsdl.schema2.Schema2ServiceSoapBindingStub binding;
try {
binding = (test.wsdl.schema2.Schema2ServiceSoapBindingStub)
new test.wsdl.schema2.Schema2ServiceLocator().getSchema2Service();
}
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
short value = -3;
value = binding.echoUnsignedByteTest((short)456);
// TBD - validate results
|
public void | test9Schema2ServiceEchoUnsignedLongTest()
test.wsdl.schema2.Schema2ServiceSoapBindingStub binding;
try {
binding = (test.wsdl.schema2.Schema2ServiceSoapBindingStub)
new test.wsdl.schema2.Schema2ServiceLocator().getSchema2Service();
}
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
java.math.BigInteger value = null;
value = binding.echoUnsignedLongTest(new java.math.BigInteger("567"));
// TBD - validate results
|
public void | testSchema2ServiceWSDL()
javax.xml.rpc.ServiceFactory serviceFactory = javax.xml.rpc.ServiceFactory.newInstance();
java.net.URL url = new java.net.URL(new test.wsdl.schema2.Schema2ServiceLocator().getSchema2ServiceAddress() + "?WSDL");
javax.xml.rpc.Service service = serviceFactory.createService(url, new test.wsdl.schema2.Schema2ServiceLocator().getServiceName());
assertTrue(service != null);
|