Author: midon
Date: Tue Jul  1 17:02:53 2008
New Revision: 673232

URL: http://svn.apache.org/viewvc?rev=673232&view=rev
Log:
Operation ouptut binding may have multiple parts, but only one may be mapped to 
'text/xml'

Modified:
    ode/trunk/axis2/src/test/resources/http-binding-validator-ext.wsdl

Modified: ode/trunk/axis2/src/test/resources/http-binding-validator-ext.wsdl
URL: 
http://svn.apache.org/viewvc/ode/trunk/axis2/src/test/resources/http-binding-validator-ext.wsdl?rev=673232&r1=673231&r2=673232&view=diff
==============================================================================
--- ode/trunk/axis2/src/test/resources/http-binding-validator-ext.wsdl 
(original)
+++ ode/trunk/axis2/src/test/resources/http-binding-validator-ext.wsdl Tue Jul  
1 17:02:53 2008
@@ -55,6 +55,38 @@
             </wsdl:output>
         </wsdl:operation>
     </wsdl:binding>
+    <wsdl:binding name="DummyServiceHttpBinding_get+output with multiple 
parts" type="ns1:DummyServicePortType">
+        <wsdl:documentation>
+            shouldPass # Operation ouptut binding may multiple parts.
+        </wsdl:documentation>
+        <http:binding verb="GET"/>
+        <wsdl:operation name="hello">
+            <http:operation location=""/>
+            <wsdl:input>
+                <http:urlReplacement/>
+            </wsdl:input>
+            <wsdl:output>
+                <mime:content type="text/xml" part="part_0"/>
+                <odex:header name="Age" part="part_1"/>
+            </wsdl:output>
+        </wsdl:operation>
+    </wsdl:binding>
+    <wsdl:binding name="DummyServiceHttpBinding_get+output with 2 parts" 
type="ns1:DummyServicePortType">
+        <wsdl:documentation>
+            shouldFail # Operation ouptut binding may have multiple parts, but 
only one may be mapped to 'text/xml'.
+        </wsdl:documentation>
+        <http:binding verb="GET"/>
+        <wsdl:operation name="hello">
+            <http:operation location=""/>
+            <wsdl:input>
+                <http:urlReplacement/>
+            </wsdl:input>
+            <wsdl:output>
+                <mime:content type="text/xml" part="part_0"/>
+                <mime:content type="text/xml" part="part_1"/>
+            </wsdl:output>
+        </wsdl:operation>
+    </wsdl:binding>
 
     <!-- ###################################### -->
     <!-- Verb at the operation level -->


Reply via email to