[jbossws-commits] JBossWS SVN: r8010 - framework/trunk/testsuite/test/resources/jaxws/jbws1807/WEB-INF/wsdl.

jbossws-commits at lists.jboss.org jbossws-commits at lists.jboss.org
Tue Aug 5 05:32:04 EDT 2008


Author: richard.opalka at jboss.com
Date: 2008-08-05 05:32:04 -0400 (Tue, 05 Aug 2008)
New Revision: 8010

Modified:
   framework/trunk/testsuite/test/resources/jaxws/jbws1807/WEB-INF/wsdl/provider.wsdl
Log:
[JBWS-2249] final fix of wrong WSDL

Modified: framework/trunk/testsuite/test/resources/jaxws/jbws1807/WEB-INF/wsdl/provider.wsdl
===================================================================
--- framework/trunk/testsuite/test/resources/jaxws/jbws1807/WEB-INF/wsdl/provider.wsdl	2008-08-05 08:37:06 UTC (rev 8009)
+++ framework/trunk/testsuite/test/resources/jaxws/jbws1807/WEB-INF/wsdl/provider.wsdl	2008-08-05 09:32:04 UTC (rev 8010)
@@ -4,36 +4,39 @@
   xmlns:tns='http://ws.com/' targetNamespace='http://ws.com/'
   xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
   
-  <message name='m1'>
-    <part name='part1' type='xsd:binary'/>
+  <types>
+    <xs:schema targetNamespace='http://ws.com/' version='1.0' xmlns:tns='http://ws.com/' xmlns:xs='http://www.w3.org/2001/XMLSchema'>
+      <xs:element name='input' type='tns:input'/>
+      <xs:element name='reply' type='tns:reply'/>
+      <xs:complexType name='input'>
+        <xs:sequence>
+          <xs:element minOccurs='0' name='arg0' type='xs:string'/>
+        </xs:sequence>
+      </xs:complexType>
+      <xs:complexType name='reply'>
+        <xs:sequence>
+          <xs:element minOccurs='0' name='return' type='xs:string'/>
+        </xs:sequence>
+      </xs:complexType>
+    </xs:schema>
+  </types>
+
+  <message name='input'>
+    <part name='input' element='tns:input'/>
   </message>
   
-  <message name='m2'>
-    <part name='response' type='xsd:binary'/>
+  <message name='reply'>
+    <part name='reply' element='tns:reply'/>
   </message>
   
-  <message name='echo'>
-    <part name='input' type='xsd:string'/>
-  </message>
-  
-  <message name='echoResponse'>
-    <part name='reply' type='xsd:string'/>
-  </message>
-  
-  <portType name="pt1">
-    <operation name="o1">
-      <input message="tns:m1"/>
-      <output message="tns:m2"/>
-    </operation>
-  </portType>
   <portType name='pt2'>
     <operation name='o1'>
-      <input message='tns:echo'/>
-      <output message='tns:echoResponse'/>
+      <input message='tns:input'/>
+      <output message='tns:reply'/>
     </operation>
   </portType>
   
-  <binding name="b1" type="tns:pt1">
+  <binding name="b1" type="tns:pt2">
     <http:binding verb="GET"/>
     <operation name="o1">
       <http:operation location="o1"/>
@@ -64,4 +67,4 @@
     </port>
   </service>
   
-</definitions>
\ No newline at end of file
+</definitions>




More information about the jbossws-commits mailing list