Skip Menu |

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

Report information
The Basics
Id: 110040
Status: open
Priority: 0/
Queue: SOAP-Lite

People
Owner: Nobody in particular
Requestors: gerv-cpan [...] gerv.net
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.09
Fixed in: (no value)



Subject: LOOPBACK transport is missing proxy() method
SOAP::Lite::Transport::LOOPBACK has no proxy() method, which causes this bit of code in SOAP::Lite to not work when trying to use the LOOPBACK transport: # SOAP::Transport Shortcuts # TODO - deprecate proxy() in favor of new language endpoint_url() no strict qw(refs); for my $method (qw(proxy)) { *$method = sub { my $self = shift->new; @_ ? ($self->transport->$method(@_), return $self) : return $self->transport->$method(); } } I fixed it in my code by monkey-patching: no strict 'refs'; *{'SOAP::Transport::LOOPBACK::Client::proxy'} = sub { return $_[0]; }; But presumably the transport needs a proxy() method? Gerv
BTW, I'm trying to use the LOOPBACK transport like this, in case it's relevant: my $loopback = SOAP::Transport::LOOPBACK::Client->new(); $soap->transport($loopback); Gerv