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

Report information
The Basics
Id:
110040
Status:
open
Priority:
Low/Low
Queue:

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

BugTracker
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


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.