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