[Catalyst-commits] r10424 - in Catalyst-Model-SOAP/1.0/trunk: lib/Catalyst/Model t

ruoso at dev.catalyst.perl.org ruoso at dev.catalyst.perl.org
Wed Jun 3 17:20:35 GMT 2009


Author: ruoso
Date: 2009-06-03 17:20:34 +0000 (Wed, 03 Jun 2009)
New Revision: 10424

Modified:
   Catalyst-Model-SOAP/1.0/trunk/lib/Catalyst/Model/SOAP.pm
   Catalyst-Model-SOAP/1.0/trunk/t/hello2.wsdl
   Catalyst-Model-SOAP/1.0/trunk/t/hello4.wsdl
Log:
[C-M-SOAP] fix tests so the WSDL provide the namespace for the action, as required by the latest XML::Compile::SOAP

Modified: Catalyst-Model-SOAP/1.0/trunk/lib/Catalyst/Model/SOAP.pm
===================================================================
--- Catalyst-Model-SOAP/1.0/trunk/lib/Catalyst/Model/SOAP.pm	2009-06-03 14:06:34 UTC (rev 10423)
+++ Catalyst-Model-SOAP/1.0/trunk/lib/Catalyst/Model/SOAP.pm	2009-06-03 17:20:34 UTC (rev 10424)
@@ -5,7 +5,7 @@
     use XML::Compile::Util qw/pack_type/;
     use List::Util qw/first/;
     use base qw(Catalyst::Model);
-    our $VERSION = '1.1';
+    our $VERSION = '1.2';
 
 
     __PACKAGE__->mk_accessors('transport');

Modified: Catalyst-Model-SOAP/1.0/trunk/t/hello2.wsdl
===================================================================
--- Catalyst-Model-SOAP/1.0/trunk/t/hello2.wsdl	2009-06-03 14:06:34 UTC (rev 10423)
+++ Catalyst-Model-SOAP/1.0/trunk/t/hello2.wsdl	2009-06-03 17:20:34 UTC (rev 10424)
@@ -34,10 +34,10 @@
     <wsdl:operation name="Greet">
       <soap:operation soapAction="http://example.com/" />
       <wsdl:input>
-        <soap:body use="literal"/>
+        <soap:body use="literal" namespace="http://example.com/hello"/>
       </wsdl:input>
       <wsdl:output>
-        <soap:body use="literal"/>
+        <soap:body use="literal" namespace="http://example.com/hello"/>
       </wsdl:output>
     </wsdl:operation>
   </wsdl:binding>
@@ -46,4 +46,4 @@
       <soap:address location="http://localhost:3000/hello"/>
     </wsdl:port>
   </wsdl:service>
-</wsdl:definitions>
\ No newline at end of file
+</wsdl:definitions>

Modified: Catalyst-Model-SOAP/1.0/trunk/t/hello4.wsdl
===================================================================
--- Catalyst-Model-SOAP/1.0/trunk/t/hello4.wsdl	2009-06-03 14:06:34 UTC (rev 10423)
+++ Catalyst-Model-SOAP/1.0/trunk/t/hello4.wsdl	2009-06-03 17:20:34 UTC (rev 10424)
@@ -43,10 +43,10 @@
     </wsdl:operation>
     <wsdl:operation name="Shout">
       <wsdl:input>
-        <soap:body use="literal"/>
+        <soap:body use="literal" namespace="http://example.com/hello"/>
       </wsdl:input>
       <wsdl:output>
-        <soap:body use="literal"/>
+        <soap:body use="literal" namespace="http://example.com/hello"/>
       </wsdl:output>
     </wsdl:operation>
   </wsdl:binding>




More information about the Catalyst-commits mailing list