Author: midon
Date: Thu Jun 26 19:27:31 2008
New Revision: 672081
URL: http://svn.apache.org/viewvc?rev=672081&view=rev
Log:
make sure empty operation-locations are supported
Modified:
ode/branches/APACHE_ODE_1.1/axis2/src/test/resources/http-binding-validator.wsdl
Modified:
ode/branches/APACHE_ODE_1.1/axis2/src/test/resources/http-binding-validator.wsdl
URL:
http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.1/axis2/src/test/resources/http-binding-validator.wsdl?rev=672081&r1=672080&r2=672081&view=diff
==============================================================================
---
ode/branches/APACHE_ODE_1.1/axis2/src/test/resources/http-binding-validator.wsdl
(original)
+++
ode/branches/APACHE_ODE_1.1/axis2/src/test/resources/http-binding-validator.wsdl
Thu Jun 26 19:27:31 2008
@@ -381,7 +381,8 @@
</wsdl:binding>
<wsdl:binding
name="DummyServiceHttpBinding_get+urlReplacement+missing_part"
type="ns1:DummyServicePortType">
<wsdl:documentation>
- shouldPass # WSLD spec requires that all message parts must be in
the url pattern when urlReplacement is used. However ODE relaxes this.
+ shouldPass # WSLD spec requires that all message parts must be in
the url pattern when urlReplacement is used.
+ However ODE relaxes this.
</wsdl:documentation>
<http:binding verb="GET"/>
<wsdl:operation name="hello">
@@ -409,6 +410,21 @@
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
+ <wsdl:binding
name="DummyServiceHttpBinding_get+urlReplacement+empty_pattern"
type="ns1:DummyServicePortType">
+ <wsdl:documentation>
+ shouldPass # Operation-location may be empty. REST connector will
not fill it for instance.
+ </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="hello"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
<!-- ###################################### -->
<!-- Verb at the operation level -->