[jbossws-commits] JBossWS SVN: r8004 - in stack/native/branches/dlofthouse/JBPAPP-904/src/test: resources/tools/jbws1217 and 1 other directory.

jbossws-commits at lists.jboss.org jbossws-commits at lists.jboss.org
Mon Aug 4 08:35:17 EDT 2008


Author: darran.lofthouse at jboss.com
Date: 2008-08-04 08:35:17 -0400 (Mon, 04 Aug 2008)
New Revision: 8004

Added:
   stack/native/branches/dlofthouse/JBPAPP-904/src/test/resources/tools/jbws1217/BaseException.java
   stack/native/branches/dlofthouse/JBPAPP-904/src/test/resources/tools/jbws1217/Test.java
   stack/native/branches/dlofthouse/JBPAPP-904/src/test/resources/tools/jbws1217/TestException.java
Removed:
   stack/native/branches/dlofthouse/JBPAPP-904/src/test/resources/tools/jbws1217/BaseException.java
   stack/native/branches/dlofthouse/JBPAPP-904/src/test/resources/tools/jbws1217/MySEI.java
   stack/native/branches/dlofthouse/JBPAPP-904/src/test/resources/tools/jbws1217/MySEIService.java
   stack/native/branches/dlofthouse/JBPAPP-904/src/test/resources/tools/jbws1217/TestException.java
Modified:
   stack/native/branches/dlofthouse/JBPAPP-904/src/test/java/org/jboss/test/ws/tools/jbws1217/JBWS1217TestCase.java
   stack/native/branches/dlofthouse/JBPAPP-904/src/test/resources/tools/jbws1217/MultiplePackageNamespace.wsdl
   stack/native/branches/dlofthouse/JBPAPP-904/src/test/resources/tools/jbws1217/jaxrpc-mapping.xml
   stack/native/branches/dlofthouse/JBPAPP-904/src/test/resources/tools/jbws1217/wstools-config.xml
Log:
Backport -r 5933

Modified: stack/native/branches/dlofthouse/JBPAPP-904/src/test/java/org/jboss/test/ws/tools/jbws1217/JBWS1217TestCase.java
===================================================================
--- stack/native/branches/dlofthouse/JBPAPP-904/src/test/java/org/jboss/test/ws/tools/jbws1217/JBWS1217TestCase.java	2008-08-04 12:33:18 UTC (rev 8003)
+++ stack/native/branches/dlofthouse/JBPAPP-904/src/test/java/org/jboss/test/ws/tools/jbws1217/JBWS1217TestCase.java	2008-08-04 12:35:17 UTC (rev 8004)
@@ -44,10 +44,9 @@
       String[] args = new String[] { "-dest", toolsDir, "-config", resourceDir + "/wstools-config.xml" };
       new WSTools().generate(args);
 
-      compareSource(resourceDir + "/MySEIService.java", toolsDir + "/org/jboss/test/ws/jbws1217/MySEIService.java");
-      compareSource(resourceDir + "/MySEI.java", toolsDir + "/org/jboss/test/ws/jbws1217/MySEI.java");
-      compareSource(resourceDir + "/TestException.java", toolsDir + "/com/other/exception/TestException.java");
-      compareSource(resourceDir + "/BaseException.java", toolsDir + "/com/other/base/BaseException.java");
+      compareSource(resourceDir + "/Test.java", toolsDir + "/org/jboss/test/ws/jbws1217/Test.java");
+      compareSource(resourceDir + "/TestException.java", toolsDir + "/org/jboss/test/ws/jbws1217/exception/TestException.java");
+      compareSource(resourceDir + "/BaseException.java", toolsDir + "/org/jboss/test/ws/jbws1217/base/BaseException.java");
 
       JaxrpcMappingValidator mappingValidator = new JaxrpcMappingValidator();
       mappingValidator.validate(resourceDir + "/jaxrpc-mapping.xml", toolsDir + "/jaxrpc-mapping.xml");

Deleted: stack/native/branches/dlofthouse/JBPAPP-904/src/test/resources/tools/jbws1217/BaseException.java
===================================================================
--- stack/native/branches/dlofthouse/JBPAPP-904/src/test/resources/tools/jbws1217/BaseException.java	2008-08-04 12:33:18 UTC (rev 8003)
+++ stack/native/branches/dlofthouse/JBPAPP-904/src/test/resources/tools/jbws1217/BaseException.java	2008-08-04 12:35:17 UTC (rev 8004)
@@ -1,18 +0,0 @@
-/*
- * JBossWS WS-Tools Generated Source
- *
- * Generation Date: Sun Feb 24 03:13:31 IST 2008
- *
- * This generated source code represents a derivative work of the input to
- * the generator that produced it. Consult the input for the copyright and
- * terms of use that apply to this source code.
- */
-
-package com.other.base;
-
-
-public class  BaseException
- extends Exception{
-public BaseException(){
-}
-}

Copied: stack/native/branches/dlofthouse/JBPAPP-904/src/test/resources/tools/jbws1217/BaseException.java (from rev 5933, stack/native/trunk/src/test/resources/tools/jbws1217/BaseException.java)
===================================================================
--- stack/native/branches/dlofthouse/JBPAPP-904/src/test/resources/tools/jbws1217/BaseException.java	                        (rev 0)
+++ stack/native/branches/dlofthouse/JBPAPP-904/src/test/resources/tools/jbws1217/BaseException.java	2008-08-04 12:35:17 UTC (rev 8004)
@@ -0,0 +1,18 @@
+/*
+ * JBossWS WS-Tools Generated Source
+ *
+ * Generation Date: Wed Mar 12 14:18:42 IST 2008
+ *
+ * This generated source code represents a derivative work of the input to
+ * the generator that produced it. Consult the input for the copyright and
+ * terms of use that apply to this source code.
+ */
+
+package org.jboss.test.ws.jbws1217.base;
+
+
+public class  BaseException
+ extends Exception{
+public BaseException(){
+}
+}

Modified: stack/native/branches/dlofthouse/JBPAPP-904/src/test/resources/tools/jbws1217/MultiplePackageNamespace.wsdl
===================================================================
--- stack/native/branches/dlofthouse/JBPAPP-904/src/test/resources/tools/jbws1217/MultiplePackageNamespace.wsdl	2008-08-04 12:33:18 UTC (rev 8003)
+++ stack/native/branches/dlofthouse/JBPAPP-904/src/test/resources/tools/jbws1217/MultiplePackageNamespace.wsdl	2008-08-04 12:35:17 UTC (rev 8004)
@@ -1,54 +1,144 @@
-<?xml version="1.0" encoding="UTF-8"?> 
-<definitions name='MySEIService' targetNamespace='http://org.jboss.test.ws/jbws1217' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:ns1='http://other.com' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://org.jboss.test.ws/jbws1217' xmlns:xsd='http://www.w3.org/2001/XMLSchema'> 
- <types> 
-  <schema targetNamespace='http://other.com' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://other.com' xmlns:ns1='http://other.com.base' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'> 
-  <import namespace='http://other.com.base'/>
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions name='TestService' targetNamespace='http://org.jboss.test.ws.jbws1217' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:ns1='http://com.other.base' xmlns:ns2='http://com.other.exception' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://org.jboss.test.ws.jbws1217' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
+ <types>
+  <schema targetNamespace='http://com.other.exception' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:ns2='http://com.other.base' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://com.other.exception' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
+   <import namespace='http://com.other.base'/>
    <complexType name='TestException'>
     <complexContent>
-     <extension base="ns1:BaseException">
-      <sequence/> 
+     <extension base='ns2:BaseException'>
+      <sequence/>
      </extension>
     </complexContent>
-   </complexType> 
-   <element name='TestException' type='tns:TestException'/> 
+   </complexType>
+   <element name='TestException' type='tns:TestException'/>
   </schema>
-  <schema targetNamespace='http://other.com.base' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://other.com.base' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'> 
+  <schema targetNamespace='http://com.other.base' xmlns='http://www.w3.org/2001/XMLSchema' xmlns:ns1='http://com.other.exception' xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tns='http://com.other.base' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
+   <import namespace='http://com.other.exception'/>
    <complexType name='BaseException'>
     <sequence/>
    </complexType>
-   <element name="BaseException" type="tns:BaseException"/>
-  </schema> 
- </types> 
- <message name='MySEI_testException'/> 
- <message name='MySEI_testExceptionResponse'/> 
- <message name='TestException'> 
-  <part element='ns1:TestException' name='TestException'/> 
- </message> 
- <portType name='MySEI'> 
-  <operation name='testException'> 
-   <input message='tns:MySEI_testException'/> 
-   <output message='tns:MySEI_testExceptionResponse'/> 
-   <fault message='tns:TestException' name='TestException'/> 
-  </operation> 
- </portType> 
- <binding name='MySEIBinding' type='tns:MySEI'> 
-  <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/> 
-  <operation name='testException'> 
-   <soap:operation soapAction=''/> 
-   <input> 
-    <soap:body namespace='http://org.jboss.test.ws/jbws1217' use='literal'/> 
-   </input> 
-   <output> 
-    <soap:body namespace='http://org.jboss.test.ws/jbws1217' use='literal'/> 
-   </output> 
-   <fault name='TestException'> 
-    <soap:fault name='TestException' use='literal'/> 
-   </fault> 
-  </operation> 
- </binding> 
- <service name='MySEIService'> 
-  <port binding='tns:MySEIBinding' name='MySEIPort'> 
-   <soap:address location='REPLACE_WITH_ACTUAL_URL'/> 
-  </port> 
- </service> 
+   <complexType name='BaseException.Array'>
+    <sequence>
+     <element maxOccurs='unbounded' minOccurs='0' name='value' nillable='true' type='tns:BaseException'/>
+    </sequence>
+   </complexType>
+   <element name='BaseException' type='tns:BaseException'/>
+  </schema>
+ </types>
+ <message name='Test_getException' xmlns='http://schemas.xmlsoap.org/wsdl/'/>
+ <message name='Test_getExceptionResponse'>
+  <part name='result' type='ns1:BaseException'/>
+ </message>
+ <message name='TestException'>
+  <part element='ns2:TestException' name='TestException'/>
+ </message>
+ <message name='Test_getExceptions'/>
+ <message name='Test_getExceptionsResponse'>
+  <part name='result' type='ns1:BaseException.Array'/>
+ </message>
+ <message name='Test_setException'>
+  <part name='BaseException_1' type='ns1:BaseException'/>
+ </message>
+ <message name='Test_setExceptionResponse'/>
+ <message name='Test_setExceptions'>
+  <part name='arrayOfBaseException_1' type='ns1:BaseException.Array'/>
+ </message>
+ <message name='Test_setExceptionsResponse'/>
+ <message name='Test_testException'/>
+ <message name='Test_testExceptionResponse'/>
+ <portType name='Test'>
+  <operation name='getException'>
+   <input message='tns:Test_getException'/>
+   <output message='tns:Test_getExceptionResponse'/>
+   <fault message='tns:TestException' name='TestException'/>
+  </operation>
+  <operation name='getExceptions'>
+   <input message='tns:Test_getExceptions'/>
+   <output message='tns:Test_getExceptionsResponse'/>
+   <fault message='tns:TestException' name='TestException'/>
+  </operation>
+  <operation name='setException' parameterOrder='BaseException_1'>
+   <input message='tns:Test_setException'/>
+   <output message='tns:Test_setExceptionResponse'/>
+   <fault message='tns:TestException' name='TestException'/>
+  </operation>
+  <operation name='setExceptions' parameterOrder='arrayOfBaseException_1'>
+   <input message='tns:Test_setExceptions'/>
+   <output message='tns:Test_setExceptionsResponse'/>
+   <fault message='tns:TestException' name='TestException'/>
+  </operation>
+  <operation name='testException'>
+   <input message='tns:Test_testException'/>
+   <output message='tns:Test_testExceptionResponse'/>
+   <fault message='tns:TestException' name='TestException'/>
+  </operation>
+ </portType>
+ <binding name='TestBinding' type='tns:Test'>
+  <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
+  <operation name='getException'>
+   <soap:operation soapAction=''/>
+   <input>
+    <soap:body namespace='http://org.jboss.test.ws.jbws1217' use='literal'/>
+   </input>
+   <output>
+    <soap:body namespace='http://org.jboss.test.ws.jbws1217' use='literal'/>
+   </output>
+   <fault name='TestException'>
+    <soap:fault name='TestException' use='literal'/>
+   </fault>
+  </operation>
+  <operation name='getExceptions'>
+   <soap:operation soapAction=''/>
+   <input>
+    <soap:body namespace='http://org.jboss.test.ws.jbws1217' use='literal'/>
+   </input>
+   <output>
+    <soap:body namespace='http://org.jboss.test.ws.jbws1217' use='literal'/>
+   </output>
+   <fault name='TestException'>
+    <soap:fault name='TestException' use='literal'/>
+   </fault>
+  </operation>
+  <operation name='setException'>
+   <soap:operation soapAction=''/>
+   <input>
+    <soap:body namespace='http://org.jboss.test.ws.jbws1217' use='literal'/>
+   </input>
+   <output>
+    <soap:body namespace='http://org.jboss.test.ws.jbws1217' use='literal'/>
+   </output>
+   <fault name='TestException'>
+    <soap:fault name='TestException' use='literal'/>
+   </fault>
+  </operation>
+  <operation name='setExceptions'>
+   <soap:operation soapAction=''/>
+   <input>
+    <soap:body namespace='http://org.jboss.test.ws.jbws1217' use='literal'/>
+   </input>
+   <output>
+    <soap:body namespace='http://org.jboss.test.ws.jbws1217' use='literal'/>
+   </output>
+   <fault name='TestException'>
+    <soap:fault name='TestException' use='literal'/>
+   </fault>
+  </operation>
+  <operation name='testException'>
+   <soap:operation soapAction=''/>
+   <input>
+    <soap:body namespace='http://org.jboss.test.ws.jbws1217' use='literal'/>
+   </input>
+   <output>
+    <soap:body namespace='http://org.jboss.test.ws.jbws1217' use='literal'/>
+   </output>
+   <fault name='TestException'>
+    <soap:fault name='TestException' use='literal'/>
+   </fault>
+  </operation>
+ </binding>
+ <service name='TestService'>
+  <port binding='tns:TestBinding' name='TestPort'>
+   <soap:address location='REPLACE_WITH_ACTUAL_URL'/>
+  </port>
+ </service>
 </definitions>
\ No newline at end of file

Deleted: stack/native/branches/dlofthouse/JBPAPP-904/src/test/resources/tools/jbws1217/MySEI.java
===================================================================
--- stack/native/branches/dlofthouse/JBPAPP-904/src/test/resources/tools/jbws1217/MySEI.java	2008-08-04 12:33:18 UTC (rev 8003)
+++ stack/native/branches/dlofthouse/JBPAPP-904/src/test/resources/tools/jbws1217/MySEI.java	2008-08-04 12:35:17 UTC (rev 8004)
@@ -1,15 +0,0 @@
-/*
- * JBossWS WS-Tools Generated Source
- *
- * Generation Date: Sun Feb 24 03:13:31 IST 2008
- *
- * This generated source code represents a derivative work of the input to
- * the generator that produced it. Consult the input for the copyright and
- * terms of use that apply to this source code.
- */
-package org.jboss.test.ws.jbws1217;
-public interface  MySEI extends java.rmi.Remote
-{
-
-  public void  testException() throws com.other.exception.TestException, java.rmi.RemoteException;
-}

Deleted: stack/native/branches/dlofthouse/JBPAPP-904/src/test/resources/tools/jbws1217/MySEIService.java
===================================================================
--- stack/native/branches/dlofthouse/JBPAPP-904/src/test/resources/tools/jbws1217/MySEIService.java	2008-08-04 12:33:18 UTC (rev 8003)
+++ stack/native/branches/dlofthouse/JBPAPP-904/src/test/resources/tools/jbws1217/MySEIService.java	2008-08-04 12:35:17 UTC (rev 8004)
@@ -1,19 +0,0 @@
-/*  
-* JBoss, the OpenSource EJB server
-* Distributable under LGPL license. See terms of license at gnu.org.
-*/
-
-//Auto Generated by jbossws - Please do not edit!!!
-
-package org.jboss.test.ws.jbws1217;
-
-
-import javax.xml.rpc.*; 
-
-
-public interface  MySEIService extends  javax.xml.rpc.Service
-{
-
-     public org.jboss.test.ws.jbws1217.MySEI getMySEIPort() throws ServiceException;
-
-}

Copied: stack/native/branches/dlofthouse/JBPAPP-904/src/test/resources/tools/jbws1217/Test.java (from rev 5933, stack/native/trunk/src/test/resources/tools/jbws1217/Test.java)
===================================================================
--- stack/native/branches/dlofthouse/JBPAPP-904/src/test/resources/tools/jbws1217/Test.java	                        (rev 0)
+++ stack/native/branches/dlofthouse/JBPAPP-904/src/test/resources/tools/jbws1217/Test.java	2008-08-04 12:35:17 UTC (rev 8004)
@@ -0,0 +1,19 @@
+/*
+ * JBossWS WS-Tools Generated Source
+ *
+ * Generation Date: Wed Mar 12 14:18:42 IST 2008
+ *
+ * This generated source code represents a derivative work of the input to
+ * the generator that produced it. Consult the input for the copyright and
+ * terms of use that apply to this source code.
+ */
+package org.jboss.test.ws.jbws1217;
+public interface  Test extends java.rmi.Remote
+{
+
+  public org.jboss.test.ws.jbws1217.base.BaseException  getException() throws org.jboss.test.ws.jbws1217.exception.TestException, java.rmi.RemoteException;
+  public org.jboss.test.ws.jbws1217.base.BaseException[]  getExceptions() throws org.jboss.test.ws.jbws1217.exception.TestException, java.rmi.RemoteException;
+  public void  setException(org.jboss.test.ws.jbws1217.base.BaseException baseException_1) throws org.jboss.test.ws.jbws1217.exception.TestException, java.rmi.RemoteException;
+  public void  setExceptions(org.jboss.test.ws.jbws1217.base.BaseException[] arrayOfBaseException_1) throws org.jboss.test.ws.jbws1217.exception.TestException, java.rmi.RemoteException;
+  public void  testException() throws org.jboss.test.ws.jbws1217.exception.TestException, java.rmi.RemoteException;
+}

Deleted: stack/native/branches/dlofthouse/JBPAPP-904/src/test/resources/tools/jbws1217/TestException.java
===================================================================
--- stack/native/branches/dlofthouse/JBPAPP-904/src/test/resources/tools/jbws1217/TestException.java	2008-08-04 12:33:18 UTC (rev 8003)
+++ stack/native/branches/dlofthouse/JBPAPP-904/src/test/resources/tools/jbws1217/TestException.java	2008-08-04 12:35:17 UTC (rev 8004)
@@ -1,18 +0,0 @@
-/*
- * JBossWS WS-Tools Generated Source
- *
- * Generation Date: Sun Feb 24 03:13:31 IST 2008
- *
- * This generated source code represents a derivative work of the input to
- * the generator that produced it. Consult the input for the copyright and
- * terms of use that apply to this source code.
- */
-
-package com.other.exception;
-
-
-public class  TestException
- extends com.other.base.BaseException{
-public TestException(){
-}
-}

Copied: stack/native/branches/dlofthouse/JBPAPP-904/src/test/resources/tools/jbws1217/TestException.java (from rev 5933, stack/native/trunk/src/test/resources/tools/jbws1217/TestException.java)
===================================================================
--- stack/native/branches/dlofthouse/JBPAPP-904/src/test/resources/tools/jbws1217/TestException.java	                        (rev 0)
+++ stack/native/branches/dlofthouse/JBPAPP-904/src/test/resources/tools/jbws1217/TestException.java	2008-08-04 12:35:17 UTC (rev 8004)
@@ -0,0 +1,18 @@
+/*
+ * JBossWS WS-Tools Generated Source
+ *
+ * Generation Date: Wed Mar 12 14:18:42 IST 2008
+ *
+ * This generated source code represents a derivative work of the input to
+ * the generator that produced it. Consult the input for the copyright and
+ * terms of use that apply to this source code.
+ */
+
+package org.jboss.test.ws.jbws1217.exception;
+
+
+public class  TestException
+ extends org.jboss.test.ws.jbws1217.base.BaseException{
+public TestException(){
+}
+}

Modified: stack/native/branches/dlofthouse/JBPAPP-904/src/test/resources/tools/jbws1217/jaxrpc-mapping.xml
===================================================================
--- stack/native/branches/dlofthouse/JBPAPP-904/src/test/resources/tools/jbws1217/jaxrpc-mapping.xml	2008-08-04 12:33:18 UTC (rev 8003)
+++ stack/native/branches/dlofthouse/JBPAPP-904/src/test/resources/tools/jbws1217/jaxrpc-mapping.xml	2008-08-04 12:35:17 UTC (rev 8004)
@@ -1,43 +1,87 @@
 <?xml version='1.0' encoding='UTF-8'?><java-wsdl-mapping version='1.1' xmlns='http://java.sun.com/xml/ns/j2ee' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd'>
  <package-mapping>
-  <package-type>com.other.base</package-type>
-  <namespaceURI>http://other.com.base</namespaceURI>
+  <package-type>org.jboss.test.ws.jbws1217.base</package-type>
+  <namespaceURI>http://com.other.base</namespaceURI>
  </package-mapping>
  <package-mapping>
   <package-type>org.jboss.test.ws.jbws1217</package-type>
-  <namespaceURI>http://org.jboss.test.ws/jbws1217</namespaceURI>
+  <namespaceURI>http://org.jboss.test.ws.jbws1217</namespaceURI>
  </package-mapping>
  <package-mapping>
-  <package-type>com.other.exception</package-type>
-  <namespaceURI>http://other.com</namespaceURI>
+  <package-type>org.jboss.test.ws.jbws1217.exception</package-type>
+  <namespaceURI>http://com.other.exception</namespaceURI>
  </package-mapping>
  <java-xml-type-mapping>
-  <java-type>com.other.base.BaseException</java-type>
-  <root-type-qname xmlns:typeNS='http://other.com.base'>typeNS:BaseException</root-type-qname>
+  <java-type>org.jboss.test.ws.jbws1217.base.BaseException</java-type>
+  <root-type-qname xmlns:typeNS='http://com.other.base'>typeNS:BaseException</root-type-qname>
   <qname-scope>complexType</qname-scope>
  </java-xml-type-mapping>
  <java-xml-type-mapping>
-  <java-type>com.other.exception.TestException</java-type>
-  <root-type-qname xmlns:typeNS='http://other.com'>typeNS:TestException</root-type-qname>
+  <java-type>org.jboss.test.ws.jbws1217.exception.TestException</java-type>
+  <root-type-qname xmlns:typeNS='http://com.other.exception'>typeNS:TestException</root-type-qname>
   <qname-scope>complexType</qname-scope>
  </java-xml-type-mapping>
  <exception-mapping>
-  <exception-type>com.other.exception.TestException</exception-type>
-  <wsdl-message xmlns:exMsgNS='http://org.jboss.test.ws/jbws1217'>exMsgNS:TestException</wsdl-message>
+  <exception-type>org.jboss.test.ws.jbws1217.exception.TestException</exception-type>
+  <wsdl-message xmlns:exMsgNS='http://org.jboss.test.ws.jbws1217'>exMsgNS:TestException</wsdl-message>
  </exception-mapping>
  <service-interface-mapping>
-  <service-interface>org.jboss.test.ws.jbws1217.MySEIService</service-interface>
-  <wsdl-service-name xmlns:serviceNS='http://org.jboss.test.ws/jbws1217'>serviceNS:MySEIService</wsdl-service-name>
+  <service-interface>org.jboss.test.ws.jbws1217.TestService</service-interface>
+  <wsdl-service-name xmlns:serviceNS='http://org.jboss.test.ws.jbws1217'>serviceNS:TestService</wsdl-service-name>
   <port-mapping>
-   <port-name>MySEIPort</port-name>
-   <java-port-name>MySEIPort</java-port-name>
+   <port-name>TestPort</port-name>
+   <java-port-name>TestPort</java-port-name>
   </port-mapping>
  </service-interface-mapping>
  <service-endpoint-interface-mapping>
-  <service-endpoint-interface>org.jboss.test.ws.jbws1217.MySEI</service-endpoint-interface>
-  <wsdl-port-type xmlns:portTypeNS='http://org.jboss.test.ws/jbws1217'>portTypeNS:MySEI</wsdl-port-type>
-  <wsdl-binding xmlns:bindingNS='http://org.jboss.test.ws/jbws1217'>bindingNS:MySEIBinding</wsdl-binding>
+  <service-endpoint-interface>org.jboss.test.ws.jbws1217.Test</service-endpoint-interface>
+  <wsdl-port-type xmlns:portTypeNS='http://org.jboss.test.ws.jbws1217'>portTypeNS:Test</wsdl-port-type>
+  <wsdl-binding xmlns:bindingNS='http://org.jboss.test.ws.jbws1217'>bindingNS:TestBinding</wsdl-binding>
   <service-endpoint-method-mapping>
+   <java-method-name>getException</java-method-name>
+   <wsdl-operation>getException</wsdl-operation>
+   <wsdl-return-value-mapping>
+    <method-return-value>org.jboss.test.ws.jbws1217.base.BaseException</method-return-value>
+    <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.test.ws.jbws1217'>wsdlMsgNS:Test_getExceptionResponse</wsdl-message>
+    <wsdl-message-part-name>result</wsdl-message-part-name>
+   </wsdl-return-value-mapping>
+  </service-endpoint-method-mapping>
+  <service-endpoint-method-mapping>
+   <java-method-name>getExceptions</java-method-name>
+   <wsdl-operation>getExceptions</wsdl-operation>
+   <wsdl-return-value-mapping>
+    <method-return-value>org.jboss.test.ws.jbws1217.base.BaseException[]</method-return-value>
+    <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.test.ws.jbws1217'>wsdlMsgNS:Test_getExceptionsResponse</wsdl-message>
+    <wsdl-message-part-name>result</wsdl-message-part-name>
+   </wsdl-return-value-mapping>
+  </service-endpoint-method-mapping>
+  <service-endpoint-method-mapping>
+   <java-method-name>setException</java-method-name>
+   <wsdl-operation>setException</wsdl-operation>
+   <method-param-parts-mapping>
+    <param-position>0</param-position>
+    <param-type>org.jboss.test.ws.jbws1217.base.BaseException</param-type>
+    <wsdl-message-mapping>
+     <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.test.ws.jbws1217'>wsdlMsgNS:Test_setException</wsdl-message>
+     <wsdl-message-part-name>BaseException_1</wsdl-message-part-name>
+     <parameter-mode>IN</parameter-mode>
+    </wsdl-message-mapping>
+   </method-param-parts-mapping>
+  </service-endpoint-method-mapping>
+  <service-endpoint-method-mapping>
+   <java-method-name>setExceptions</java-method-name>
+   <wsdl-operation>setExceptions</wsdl-operation>
+   <method-param-parts-mapping>
+    <param-position>0</param-position>
+    <param-type>org.jboss.test.ws.jbws1217.base.BaseException[]</param-type>
+    <wsdl-message-mapping>
+     <wsdl-message xmlns:wsdlMsgNS='http://org.jboss.test.ws.jbws1217'>wsdlMsgNS:Test_setExceptions</wsdl-message>
+     <wsdl-message-part-name>arrayOfBaseException_1</wsdl-message-part-name>
+     <parameter-mode>IN</parameter-mode>
+    </wsdl-message-mapping>
+   </method-param-parts-mapping>
+  </service-endpoint-method-mapping>
+  <service-endpoint-method-mapping>
    <java-method-name>testException</java-method-name>
    <wsdl-operation>testException</wsdl-operation>
   </service-endpoint-method-mapping>

Modified: stack/native/branches/dlofthouse/JBPAPP-904/src/test/resources/tools/jbws1217/wstools-config.xml
===================================================================
--- stack/native/branches/dlofthouse/JBPAPP-904/src/test/resources/tools/jbws1217/wstools-config.xml	2008-08-04 12:33:18 UTC (rev 8003)
+++ stack/native/branches/dlofthouse/JBPAPP-904/src/test/resources/tools/jbws1217/wstools-config.xml	2008-08-04 12:35:17 UTC (rev 8004)
@@ -1,8 +1,8 @@
 <configuration xmlns="http://www.jboss.org/jbossws-tools"> 
   <global> 
-    <package-namespace package="com.other.exception" namespace="http://other.com"/> 
-    <package-namespace package="com.other.base" namespace="http://other.com.base"/> 
-    <package-namespace package="org.jboss.test.ws.jbws1217" namespace="http://org.jboss.test.ws/jbws1217"/> 
+    <package-namespace package="org.jboss.test.ws.jbws1217.exception" namespace="http://com.other.exception"/> 
+    <package-namespace package="org.jboss.test.ws.jbws1217.base" namespace="http://com.other.base"/> 
+    <package-namespace package="org.jboss.test.ws.jbws1217" namespace="http://org.jboss.test.ws.jbws1217"/> 
   </global> 
   <wsdl-java location="resources/tools/jbws1217/MultiplePackageNamespace.wsdl"> 
     <mapping file="jaxrpc-mapping.xml" /> 




More information about the jbossws-commits mailing list