Skip Menu |

This queue is for tickets about the SOAP-Lite CPAN distribution.

Report information
The Basics
Id: 16898
Status: resolved
Priority: 0/
Queue: SOAP-Lite

People
Owner: Nobody in particular
Requestors: dwheeler [...] cpan.org
hiroaki.kawai [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.66
Fixed in: 0.65_6



Subject: XMLRPC::Lite->proxy(ENDPOINT) cause warning in SOAP-Lite-0.66
In the script like following, I got a warning that was not the case in SOAP-Lite-0.65_6. The code is: ---------------- sample.pl ------------ use lib 'SOAP-Lite-0.66/lib'; use XMLRPC::Lite; use LWP::Debug qw(+); use YAML; use strict; use Carp; local $SIG{__WARN__} = \&Carp::cluck; local $SIG{__DIE__} = \&Carp::cluck; my $endpoint="http://localhost/test.php"; my $api=XMLRPC::Lite->proxy($endpoint); $api->call('system.listMethods',undef); print YAML::Dump($api->transport->http_response->content); ---------------- sample.pl ------------ and I got: Show quoted text
---------------- warning ------------ use_prefix has been deprecated. if you wish to turn off or on the use of a default namespace, then please use either ns(uri) or default_ns(uri) at SOAP-Lite-0.66/lib/SOAP/Lite.pm line 858. ---------------- warning ------------ The patch will fix, I think.
--- lib/XMLRPC/Lite.pm 2004-11-15 04:30:50.000000000 +0900 +++ lib/XMLRPC/Lite.pm.new 2006-01-04 12:37:59.287102400 +0900 @@ -333,7 +333,7 @@ serializer => XMLRPC::Serializer->new, deserializer => XMLRPC::Deserializer->new, on_action => sub {return}, - uri => 'http://unspecified/', + default_ns => 'http://unspecified/', @_ ); }
Subject: XMLRPC::Lite Still Calls use_prefix
% perl -MXMLRPC::Lite -le 'XMLRPC::Lite->proxy' use_prefix has been deprecated. if you wish to turn off or on the use of a default namespace, then please use either ns(uri) or default_ns(uri) at /usr/local/lib/perl5/site_perl/5.8.7/SOAP/ Lite.pm line 858.
fixed in SVN in #383