rubys 02/02/28 06:49:49 Modified: java/test/wsdl/interop3/import2 Import2TestCase.java build.xml java/test/wsdl/interop3/import3 Import3TestCase.java build.xml Added: java/test/wsdl/interop3/import2 SoapInteropImport2BindingImpl.java java/test/wsdl/interop3/import3 SoapInteropImport3BindingImpl.java Log: Add import2 and import3 impls Revision Changes Path 1.2 +0 -20 xml-axis/java/test/wsdl/interop3/import2/Import2TestCase.java Index: Import2TestCase.java =================================================================== RCS file: /home/cvs/xml-axis/java/test/wsdl/interop3/import2/Import2TestCase.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- Import2TestCase.java 27 Feb 2002 15:50:57 -0000 1.1 +++ Import2TestCase.java 28 Feb 2002 14:49:49 -0000 1.2 @@ -1,7 +1,6 @@ package test.wsdl.interop3.import2; import test.wsdl.interop3.import2.definitions.SoapInteropImport2PortType; -import test.wsdl.interop3.import2.step6.definitions.SoapInteropImport2PortTypeServiceLocator; import test.wsdl.interop3.import2.xsd.SOAPStruct; /* @@ -61,25 +60,6 @@ try { SOAPStruct value = null; value = binding.echoStruct(new SOAPStruct()); - } - catch (java.rmi.RemoteException re) { - throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re); - } - } - - public void testStep7() { - test.wsdl.interop3.import2.step6.definitions.SoapInteropImport2PortType binding; - try { - binding = new SoapInteropImport2PortTypeServiceLocator().getSoapInteropImport2Port(); - } - catch (javax.xml.rpc.ServiceException jre) { - throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); - } - assertTrue("binding is null", binding != null); - - try { - test.wsdl.interop3.import2.step6.xsd.SOAPStruct value = null; - value = binding.echoStruct(new test.wsdl.interop3.import2.step6.xsd.SOAPStruct()); } catch (java.rmi.RemoteException re) { throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re); 1.4 +6 -0 xml-axis/java/test/wsdl/interop3/import2/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/xml-axis/java/test/wsdl/interop3/import2/build.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- build.xml 28 Feb 2002 14:17:41 -0000 1.3 +++ build.xml 28 Feb 2002 14:49:49 -0000 1.4 @@ -22,6 +22,12 @@ <mkdir dir="${root.dir}/${build.dest}"/> + <copy file="SoapInteropImport2BindingImpl.java" + todir="${root.dir}/build/work/test/wsdl/interop3/import2"/> + + <copy file="Import2TestCase.java" + todir="${root.dir}/build/work/test/wsdl/interop3/import2"/> + <!-- compile the skeletons --> <javac srcdir="${root.dir}/${build.dir}/work" destdir="${root.dir}/${build.dest}" debug="on"> 1.1 xml-axis/java/test/wsdl/interop3/import2/SoapInteropImport2BindingImpl.java Index: SoapInteropImport2BindingImpl.java =================================================================== /** * SoapInteropImport2BindingImpl.java * * This file was auto-generated from WSDL * by the Apache Axis Wsdl2java emitter. */ package test.wsdl.interop3.import2; public class SoapInteropImport2BindingImpl implements test.wsdl.interop3.import2.definitions.SoapInteropImport2PortType { public test.wsdl.interop3.import2.xsd.SOAPStruct echoStruct(test.wsdl.interop3.import2.xsd.SOAPStruct inputStruct) throws java.rmi.RemoteException { return null; } } 1.2 +0 -78 xml-axis/java/test/wsdl/interop3/import3/Import3TestCase.java Index: Import3TestCase.java =================================================================== RCS file: /home/cvs/xml-axis/java/test/wsdl/interop3/import3/Import3TestCase.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- Import3TestCase.java 27 Feb 2002 15:50:58 -0000 1.1 +++ Import3TestCase.java 28 Feb 2002 14:49:49 -0000 1.2 @@ -1,6 +1,5 @@ package test.wsdl.interop3.import3; -import test.wsdl.interop3.import3.step6.definitions.SoapInteropImport3PortTypeServiceLocator; import test.wsdl.interop3.import3.xsd.SOAPStruct; @@ -105,83 +104,6 @@ } } - public void testStep7EchoStruct() { - test.wsdl.interop3.import3.step6.definitions.SoapInteropImport3PortType binding; - try { - binding = new SoapInteropImport3PortTypeServiceLocator().getSoapInteropImport3Port(); - } - catch (javax.xml.rpc.ServiceException jre) { - throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); - } - assertTrue("binding is null", binding != null); - - try { - test.wsdl.interop3.import3.step6.xsd.SOAPStruct value = null; - value = binding.echoStruct(new test.wsdl.interop3.import3.step6.xsd.SOAPStruct()); - } - catch (java.rmi.RemoteException re) { - throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re); - } - } - - public void testStep7EchoStructArray() { - test.wsdl.interop3.import3.step6.definitions.SoapInteropImport3PortType binding; - try { - binding = new SoapInteropImport3PortTypeServiceLocator().getSoapInteropImport3Port(); - } - catch (javax.xml.rpc.ServiceException jre) { - throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); - } - assertTrue("binding is null", binding != null); - - try { - test.wsdl.interop3.import3.step6.xsd.SOAPStruct[] value = null; - value = binding.echoStructArray(new test.wsdl.interop3.import3.step6.xsd.SOAPStruct[0]); - } - catch (java.rmi.RemoteException re) { - throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re); - } - } - -/* doesn't work yet - public void testStep8EchoStruct() { - test.wsdl.interop3.import3.step6.definitions.SoapInteropImport3PortType binding; - try { - binding = new SoapInteropImport3PortTypeServiceLocator().getSoapInteropImport3Port(new java.net.URL("http://mssoapinterop.org/stkV3/wsdl/import3.wsdl")); - } - catch (Throwable t) { - throw new junit.framework.AssertionFailedError("Throwable caught: " + t); - } - assertTrue("binding is null", binding != null); - - try { - test.wsdl.interop3.import3.step6.xsd.SOAPStruct value = null; - value = binding.echoStruct(new test.wsdl.interop3.import3.step6.xsd.SOAPStruct()); - } - catch (java.rmi.RemoteException re) { - throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re); - } - } - - public void testStep8EchoStructArray() { - test.wsdl.interop3.import3.step6.definitions.SoapInteropImport3PortType binding; - try { - binding = new SoapInteropImport3PortTypeServiceLocator().getSoapInteropImport3Port(new java.net.URL("http://mssoapinterop.org/stkV3/wsdl/import3.wsdl")); - } - catch (Throwable t) { - throw new junit.framework.AssertionFailedError("Throwable caught: " + t); - } - assertTrue("binding is null", binding != null); - - try { - test.wsdl.interop3.import3.step6.xsd.SOAPStruct[] value = null; - value = binding.echoStructArray(new test.wsdl.interop3.import3.step6.xsd.SOAPStruct[0]); - } - catch (java.rmi.RemoteException re) { - throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re); - } - } -*/ public static void main(String[] args) { junit.textui.TestRunner.run(new junit.framework.TestSuite(Import3TestCase.class)); 1.4 +6 -0 xml-axis/java/test/wsdl/interop3/import3/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/xml-axis/java/test/wsdl/interop3/import3/build.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- build.xml 28 Feb 2002 14:17:41 -0000 1.3 +++ build.xml 28 Feb 2002 14:49:49 -0000 1.4 @@ -22,6 +22,12 @@ <mkdir dir="${root.dir}/${build.dest}"/> + <copy file="SoapInteropImport3BindingImpl.java" + todir="${root.dir}/build/work/test/wsdl/interop3/import3"/> + + <copy file="Import3TestCase.java" + todir="${root.dir}/build/work/test/wsdl/interop3/import3"/> + <!-- compile the skeletons --> <javac srcdir="${root.dir}/${build.dir}/work" destdir="${root.dir}/${build.dest}" debug="on"> 1.1 xml-axis/java/test/wsdl/interop3/import3/SoapInteropImport3BindingImpl.java Index: SoapInteropImport3BindingImpl.java =================================================================== /** * SoapInteropImport3BindingImpl.java * * This file was auto-generated from WSDL * by the Apache Axis Wsdl2java emitter. */ package test.wsdl.interop3.import3; public class SoapInteropImport3BindingImpl implements test.wsdl.interop3.import3.SoapInteropImport3PortType { public test.wsdl.interop3.import3.xsd.SOAPStruct echoStruct(test.wsdl.interop3.import3.xsd.SOAPStruct inputStruct) throws java.rmi.RemoteException { return inputStruct; } public test.wsdl.interop3.import3.xsd.SOAPStruct[] echoStructArray(test.wsdl.interop3.import3.xsd.SOAPStruct[] inputArray) throws java.rmi.RemoteException { return inputArray; } }