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

Owner: Nobody in particular
Requestors: gerv-cpan [...]

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

Subject: LOOPBACK transport is missing proxy() method
Download (untitled) / with headers
text/plain 707b
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
Download (untitled) / with headers
text/plain 185b
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

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to