[Catalyst-commits] r7676 - Catalyst-Model-SOAP/1.0/trunk/lib/Catalyst/Model

ruoso at dev.catalyst.perl.org ruoso at dev.catalyst.perl.org
Mon May 5 19:05:05 BST 2008


Author: ruoso
Date: 2008-05-05 19:05:03 +0100 (Mon, 05 May 2008)
New Revision: 7676

Modified:
   Catalyst-Model-SOAP/1.0/trunk/lib/Catalyst/Model/SOAP.pm
Log:
[C-M-SOAP] using the xsd deployed by XML::Compile...

Modified: Catalyst-Model-SOAP/1.0/trunk/lib/Catalyst/Model/SOAP.pm
===================================================================
--- Catalyst-Model-SOAP/1.0/trunk/lib/Catalyst/Model/SOAP.pm	2008-05-05 18:02:05 UTC (rev 7675)
+++ Catalyst-Model-SOAP/1.0/trunk/lib/Catalyst/Model/SOAP.pm	2008-05-05 18:05:03 UTC (rev 7676)
@@ -10,6 +10,7 @@
 
     use constant NS_SOAP_ENV => "http://schemas.xmlsoap.org/soap/envelope/";
     use constant NS_WSDLSOAP => "http://schemas.xmlsoap.org/wsdl/soap/";
+    use XML::Compile::SOAP11;
 
     sub register_wsdl {
         my ($self, $wsdl, $target) = @_;
@@ -36,7 +37,7 @@
             $wsdl_obj->importDefinitions($schema)
         }
 
-        $wsdl_obj->importDefinitions('soap-encoding.xsd');
+        $wsdl_obj->importDefinitions(NS_SOAP_ENV);
 
         my $transport = $self->config->{transport};
         my $service = $self->config->{service};




More information about the Catalyst-commits mailing list