daphnaw has asked for the wisdom of the Perl Monks concerning the following question:
Result:my $cli = RPC::XML::Client->new("http://localhost6:$port/RPC2"); my $cli_client = RPC::XML::request->new('AnaXmlRpcHandler.execute', ,R +PC::XML::array->new(map {RPC::XML::string->new($_)} @arr));
Can't locate object method "value" via package "RPC::XML::Client::request: HTTP server error: Can't connect to localhost6:8099 (Bad hostname 'localhost6')" (perhaps you forgot to load "RPC::XML::Client::request: HTTP server error: Can't connect to localhost6:8099 (Bad hostname 'localhost6')"?)
The following attempt also fails:my $cli = RPC::XML::Client->new("http://[2001:db8:c18:2:250:56ff:fead: +2d92]:$port/RPC2"); my $cli_client = RPC::XML::request->new('AnaXmlRpcHandler.execute', ,R +PC::XML::array->new(map {RPC::XML::string->new($_)} @arr));
Can't locate object method "value" via package "RPC::XML::Client::request: HTTP server error: Can't connect to 2001:db8:c18:2:250:56ff:fead:2d92:8099 (Bad hostname '2001:db8:c18:2:250:56ff:fead:2d92')" (perhaps you forgot to load "RPC::XML::Client::request: HTTP server error: Can't connect to 2001:db8:c18:2:250:56ff:fead:2d92:8099 (Bad hostname '2001:db8:c18:2:250:56ff:fead:2d92')"?)
I've read the "State of Perl", and would like to know whether upgrading some of the dependant modules will do, and if not, what other options are available?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: IPv6 support for XML-RPC modules
by Khen1950fx (Canon) on Mar 27, 2011 at 10:12 UTC | |
by daphnaw (Acolyte) on Mar 27, 2011 at 15:56 UTC | |
by Khen1950fx (Canon) on Mar 27, 2011 at 17:51 UTC | |
by daphnaw (Acolyte) on Mar 28, 2011 at 14:29 UTC |