Return-Path: Delivered-To: apmail-xml-axis-dev-archive@xml.apache.org Received: (qmail 59004 invoked by uid 500); 20 Jan 2003 01:58:33 -0000 Mailing-List: contact axis-dev-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@xml.apache.org Received: (qmail 58993 invoked by uid 500); 20 Jan 2003 01:58:32 -0000 Delivered-To: apmail-xml-axis-cvs@apache.org Date: 20 Jan 2003 01:58:31 -0000 Message-ID: <20030120015831.49475.qmail@icarus.apache.org> From: dims@apache.org To: xml-axis-cvs@apache.org Subject: cvs commit: xml-axis/java/test/wsdl/soap12/additional build.xml Soap12AddTestDocBindingImpl.java Soap12AddTestRpcBindingImpl.java WhiteMesaSoap12AddTestSvcTestCase.java soap12-add-test.wsdl X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N dims 2003/01/19 17:58:31 Modified: java/test/wsdl/soap12/additional soap12-add-test.wsdl Added: java/test/wsdl/soap12/additional build.xml Soap12AddTestDocBindingImpl.java Soap12AddTestRpcBindingImpl.java WhiteMesaSoap12AddTestSvcTestCase.java Log: Initial check-in of SOAP 1.2 additional tests Revision Changes Path 1.2 +1 -1 xml-axis/java/test/wsdl/soap12/additional/soap12-add-test.wsdl Index: soap12-add-test.wsdl =================================================================== RCS file: /home/cvs/xml-axis/java/test/wsdl/soap12/additional/soap12-add-test.wsdl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- soap12-add-test.wsdl 19 Jan 2003 21:25:10 -0000 1.1 +++ soap12-add-test.wsdl 20 Jan 2003 01:58:31 -0000 1.2 @@ -108,7 +108,7 @@ - + 1.1 xml-axis/java/test/wsdl/soap12/additional/build.xml Index: build.xml =================================================================== ]> &properties; &paths; &taskdefs; &taskdefs_post_compile; &targets; 1.1 xml-axis/java/test/wsdl/soap12/additional/Soap12AddTestDocBindingImpl.java Index: Soap12AddTestDocBindingImpl.java =================================================================== /** * Soap12AddTestDocBindingImpl.java * * This file was auto-generated from WSDL * by the Apache Axis WSDL2Java emitter. */ package test.wsdl.soap12.additional; public class Soap12AddTestDocBindingImpl implements test.wsdl.soap12.additional.Soap12AddTestPortTypeDoc{ // getTime is a notification style operation and is unsupported. public java.lang.String echoString(java.lang.String inputString) throws java.rmi.RemoteException { return null; } public void echoSenderFault(java.lang.Object inElement) throws java.rmi.RemoteException { } public void echoReceiverFault(java.lang.Object inElement) throws java.rmi.RemoteException { } } 1.1 xml-axis/java/test/wsdl/soap12/additional/Soap12AddTestRpcBindingImpl.java Index: Soap12AddTestRpcBindingImpl.java =================================================================== /** * Soap12AddTestRpcBindingImpl.java * * This file was auto-generated from WSDL * by the Apache Axis WSDL2Java emitter. */ package test.wsdl.soap12.additional; public class Soap12AddTestRpcBindingImpl implements test.wsdl.soap12.additional.Soap12AddTestPortTypeRpc{ public void echoVoid() throws java.rmi.RemoteException { } public test.wsdl.soap12.additional.xsd.SOAPStruct echoSimpleTypesAsStruct(java.lang.String inputString, int inputInteger, float inputFloat) throws java.rmi.RemoteException { return null; } // getTime is a notification style operation and is unsupported. public java.lang.String echoString(java.lang.String inputString) throws java.rmi.RemoteException { return null; } public test.wsdl.soap12.additional.xsd.SOAPStructTypes echoSimpleTypesAsStructOfSchemaTypes(java.lang.Object input1, java.lang.Object input2, java.lang.Object input3, java.lang.Object input4) throws java.rmi.RemoteException { return null; } public int echoInteger(int inputInteger) throws java.rmi.RemoteException { return -3; } } 1.1 xml-axis/java/test/wsdl/soap12/additional/WhiteMesaSoap12AddTestSvcTestCase.java Index: WhiteMesaSoap12AddTestSvcTestCase.java =================================================================== /** * WhiteMesaSoap12AddTestSvcTestCase.java * * This file was auto-generated from WSDL * by the Apache Axis WSDL2Java emitter. */ package test.wsdl.soap12.additional; public class WhiteMesaSoap12AddTestSvcTestCase extends junit.framework.TestCase { public WhiteMesaSoap12AddTestSvcTestCase(java.lang.String name) { super(name); } // getTime is a notification style operation and is unsupported. public void test1Soap12AddTestDocPortEchoString() throws Exception { test.wsdl.soap12.additional.Soap12AddTestDocBindingStub binding; try { binding = (test.wsdl.soap12.additional.Soap12AddTestDocBindingStub) new test.wsdl.soap12.additional.WhiteMesaSoap12AddTestSvcLocator().getSoap12AddTestDocPort(); } 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.echoString(new java.lang.String()); // TBD - validate results } public void test2Soap12AddTestDocPortEchoSenderFault() throws Exception { test.wsdl.soap12.additional.Soap12AddTestDocBindingStub binding; try { binding = (test.wsdl.soap12.additional.Soap12AddTestDocBindingStub) new test.wsdl.soap12.additional.WhiteMesaSoap12AddTestSvcLocator().getSoap12AddTestDocPort(); } 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 // TODO: Fix this... // binding.echoSenderFault(new java.lang.String()); // TBD - validate results } public void test3Soap12AddTestDocPortEchoReceiverFault() throws Exception { test.wsdl.soap12.additional.Soap12AddTestDocBindingStub binding; try { binding = (test.wsdl.soap12.additional.Soap12AddTestDocBindingStub) new test.wsdl.soap12.additional.WhiteMesaSoap12AddTestSvcLocator().getSoap12AddTestDocPort(); } 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 // TODO: Fix this... // binding.echoReceiverFault(new java.lang.String()); // TBD - validate results } public void test4Soap12AddTestRpcPortEchoVoid() throws Exception { test.wsdl.soap12.additional.Soap12AddTestRpcBindingStub binding; try { binding = (test.wsdl.soap12.additional.Soap12AddTestRpcBindingStub) new test.wsdl.soap12.additional.WhiteMesaSoap12AddTestSvcLocator().getSoap12AddTestRpcPort(); } 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 // TODO: Fix this... // binding.echoVoid(); // TBD - validate results } public void test5Soap12AddTestRpcPortEchoSimpleTypesAsStruct() throws Exception { test.wsdl.soap12.additional.Soap12AddTestRpcBindingStub binding; try { binding = (test.wsdl.soap12.additional.Soap12AddTestRpcBindingStub) new test.wsdl.soap12.additional.WhiteMesaSoap12AddTestSvcLocator().getSoap12AddTestRpcPort(); } 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 test.wsdl.soap12.additional.xsd.SOAPStruct value = null; value = binding.echoSimpleTypesAsStruct(new java.lang.String(), 0, 0); // TBD - validate results } public void test6Soap12AddTestRpcPortEchoString() throws Exception { test.wsdl.soap12.additional.Soap12AddTestRpcBindingStub binding; try { binding = (test.wsdl.soap12.additional.Soap12AddTestRpcBindingStub) new test.wsdl.soap12.additional.WhiteMesaSoap12AddTestSvcLocator().getSoap12AddTestRpcPort(); } 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.echoString(new java.lang.String()); // TBD - validate results } public void test7Soap12AddTestRpcPortEchoSimpleTypesAsStructOfSchemaTypes() throws Exception { test.wsdl.soap12.additional.Soap12AddTestRpcBindingStub binding; try { binding = (test.wsdl.soap12.additional.Soap12AddTestRpcBindingStub) new test.wsdl.soap12.additional.WhiteMesaSoap12AddTestSvcLocator().getSoap12AddTestRpcPort(); } 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 test.wsdl.soap12.additional.xsd.SOAPStructTypes value = null; // TODO: Fix this... // value = binding.echoSimpleTypesAsStructOfSchemaTypes(new java.lang.String(), new java.lang.String(), new java.lang.String(), new java.lang.String()); // TBD - validate results } public void test8Soap12AddTestRpcPortEchoInteger() throws Exception { test.wsdl.soap12.additional.Soap12AddTestRpcBindingStub binding; try { binding = (test.wsdl.soap12.additional.Soap12AddTestRpcBindingStub) new test.wsdl.soap12.additional.WhiteMesaSoap12AddTestSvcLocator().getSoap12AddTestRpcPort(); } 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.echoInteger(0); // TBD - validate results } // getTime is a notification style operation and is unsupported. // getTime is a notification style operation and is unsupported. public void test9Soap12AddTestDocUpperPortEchoString() throws Exception { test.wsdl.soap12.additional.Soap12AddTestDocBindingStub binding; try { binding = (test.wsdl.soap12.additional.Soap12AddTestDocBindingStub) new test.wsdl.soap12.additional.WhiteMesaSoap12AddTestSvcLocator().getSoap12AddTestDocUpperPort(); } 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.echoString(new java.lang.String()); // TBD - validate results } public void test10Soap12AddTestDocUpperPortEchoSenderFault() throws Exception { test.wsdl.soap12.additional.Soap12AddTestDocBindingStub binding; try { binding = (test.wsdl.soap12.additional.Soap12AddTestDocBindingStub) new test.wsdl.soap12.additional.WhiteMesaSoap12AddTestSvcLocator().getSoap12AddTestDocUpperPort(); } 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 binding.echoSenderFault(new java.lang.String()); // TBD - validate results } public void test11Soap12AddTestDocUpperPortEchoReceiverFault() throws Exception { test.wsdl.soap12.additional.Soap12AddTestDocBindingStub binding; try { binding = (test.wsdl.soap12.additional.Soap12AddTestDocBindingStub) new test.wsdl.soap12.additional.WhiteMesaSoap12AddTestSvcLocator().getSoap12AddTestDocUpperPort(); } 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 binding.echoReceiverFault(new java.lang.String()); // TBD - validate results } // getTime is a notification style operation and is unsupported. public void test12Soap12AddTestDocIntermediaryPortEchoString() throws Exception { test.wsdl.soap12.additional.Soap12AddTestDocBindingStub binding; try { binding = (test.wsdl.soap12.additional.Soap12AddTestDocBindingStub) new test.wsdl.soap12.additional.WhiteMesaSoap12AddTestSvcLocator().getSoap12AddTestDocIntermediaryPort(); } 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.echoString(new java.lang.String()); // TBD - validate results } public void test13Soap12AddTestDocIntermediaryPortEchoSenderFault() throws Exception { test.wsdl.soap12.additional.Soap12AddTestDocBindingStub binding; try { binding = (test.wsdl.soap12.additional.Soap12AddTestDocBindingStub) new test.wsdl.soap12.additional.WhiteMesaSoap12AddTestSvcLocator().getSoap12AddTestDocIntermediaryPort(); } 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 binding.echoSenderFault(new java.lang.String()); // TBD - validate results } public void test14Soap12AddTestDocIntermediaryPortEchoReceiverFault() throws Exception { test.wsdl.soap12.additional.Soap12AddTestDocBindingStub binding; try { binding = (test.wsdl.soap12.additional.Soap12AddTestDocBindingStub) new test.wsdl.soap12.additional.WhiteMesaSoap12AddTestSvcLocator().getSoap12AddTestDocIntermediaryPort(); } 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 binding.echoReceiverFault(new java.lang.String()); // TBD - validate results } }