[Catalyst-commits] r10365 - in Catalyst-Model-SOAP/1.0/trunk:
lib/Catalyst/Model t
ruoso at dev.catalyst.perl.org
ruoso at dev.catalyst.perl.org
Fri May 29 18:33:40 GMT 2009
Author: ruoso
Date: 2009-05-29 18:33:40 +0000 (Fri, 29 May 2009)
New Revision: 10365
Modified:
Catalyst-Model-SOAP/1.0/trunk/lib/Catalyst/Model/SOAP.pm
Catalyst-Model-SOAP/1.0/trunk/t/02_docliteral.t
Catalyst-Model-SOAP/1.0/trunk/t/03_docliteral_multipart.t
Catalyst-Model-SOAP/1.0/trunk/t/04_rpcliteral.t
Catalyst-Model-SOAP/1.0/trunk/t/hello4.wsdl
Log:
[C-M-SOAP] some fixes after latest XML::Compile::SOAP version
Modified: Catalyst-Model-SOAP/1.0/trunk/lib/Catalyst/Model/SOAP.pm
===================================================================
--- Catalyst-Model-SOAP/1.0/trunk/lib/Catalyst/Model/SOAP.pm 2009-05-29 15:54:43 UTC (rev 10364)
+++ Catalyst-Model-SOAP/1.0/trunk/lib/Catalyst/Model/SOAP.pm 2009-05-29 18:33:40 UTC (rev 10365)
@@ -39,8 +39,6 @@
$wsdl_obj->importDefinitions($schema)
}
- $wsdl_obj->importDefinitions(NS_SOAP_ENV);
-
my $transport = $self->config->{transport};
my $service = $self->config->{service};
@@ -78,7 +76,6 @@
my $name = $operation->name();
my $style = $operation->style;
- my $use = $operation->{input_def}{body}{use};
*{$realtarget.'::'.$operation->name()} = sub {
my $self = shift;
Modified: Catalyst-Model-SOAP/1.0/trunk/t/02_docliteral.t
===================================================================
--- Catalyst-Model-SOAP/1.0/trunk/t/02_docliteral.t 2009-05-29 15:54:43 UTC (rev 10364)
+++ Catalyst-Model-SOAP/1.0/trunk/t/02_docliteral.t 2009-05-29 18:33:40 UTC (rev 10365)
@@ -26,7 +26,7 @@
my $message = shift->toString;
ok($message =~ /Hello|World/g, 'Output message contain parameters.');
return $parser->parse_string(<<SOAPMESSAGE);
-<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><Body><hello:GreetingResponse xmlns:hello="http://example.com/hello"><hello:greeting>Hello World!</hello:greeting></hello:GreetingResponse></Body></SOAP-ENV:Envelope>
+<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><hello:GreetingResponse xmlns:hello="http://example.com/hello"><hello:greeting>Hello World!</hello:greeting></hello:GreetingResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
SOAPMESSAGE
};
my $ret = MyFooModel::Bar::Baz->Greet
Modified: Catalyst-Model-SOAP/1.0/trunk/t/03_docliteral_multipart.t
===================================================================
--- Catalyst-Model-SOAP/1.0/trunk/t/03_docliteral_multipart.t 2009-05-29 15:54:43 UTC (rev 10364)
+++ Catalyst-Model-SOAP/1.0/trunk/t/03_docliteral_multipart.t 2009-05-29 18:33:40 UTC (rev 10365)
@@ -26,7 +26,7 @@
my $message = shift->toString;
ok($message =~ /Hello|World/g, 'Output message contain parameters.');
return $parser->parse_string(<<SOAPMESSAGE);
-<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><Body><hello:greeting xmlns:hello="http://example.com/hello">Hello World!</hello:greeting></Body></SOAP-ENV:Envelope>
+<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><hello:greeting xmlns:hello="http://example.com/hello">Hello World!</hello:greeting></SOAP-ENV:Body></SOAP-ENV:Envelope>
SOAPMESSAGE
};
my $ret = MyFooModel::Bar::Baz->Greet
Modified: Catalyst-Model-SOAP/1.0/trunk/t/04_rpcliteral.t
===================================================================
--- Catalyst-Model-SOAP/1.0/trunk/t/04_rpcliteral.t 2009-05-29 15:54:43 UTC (rev 10364)
+++ Catalyst-Model-SOAP/1.0/trunk/t/04_rpcliteral.t 2009-05-29 18:33:40 UTC (rev 10365)
@@ -27,7 +27,7 @@
ok($message =~ /Hello|World/g, 'Output message contain parameters.');
return $parser->parse_string(<<SOAPMESSAGE);
-<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><Body><Greet><hello:greeting xmlns:hello="http://example.com/hello">Hello World!</hello:greeting></Greet></Body></SOAP-ENV:Envelope>
+<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:hello="http://example.com/hello"><SOAP-ENV:Body><hello:Greet><hello:greeting>Hello World!</hello:greeting></hello:Greet></SOAP-ENV:Body></SOAP-ENV:Envelope>
SOAPMESSAGE
};
Modified: Catalyst-Model-SOAP/1.0/trunk/t/hello4.wsdl
===================================================================
--- Catalyst-Model-SOAP/1.0/trunk/t/hello4.wsdl 2009-05-29 15:54:43 UTC (rev 10364)
+++ Catalyst-Model-SOAP/1.0/trunk/t/hello4.wsdl 2009-05-29 18:33:40 UTC (rev 10365)
@@ -35,10 +35,10 @@
<soap:binding transport="http://jabber.org/protocol/soap" style="rpc"/>
<wsdl:operation name="Greet">
<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:operation name="Shout">
More information about the Catalyst-commits
mailing list