in reply to Re: Unable to run SOAP::Lite client through firewall proxy
in thread Unable to run SOAP::Lite client through firewall proxy
perhaps that was a bit less-than-elegant, but I was under the gun and can use my learnings to build on in the future Thanks!sub _call { my ($self, $method) = (shift, shift); my $name = UNIVERSAL::isa($method => 'SOAP::Data') ? $method->name + : $method; my %method = %{$methods{$name}}; # added the following line so that we can utilize a proxy to get o +ut through # the firewall $self->proxy($method{endpoint}, proxy => ['https' => 'http://proxy +.mycompany.com']); $self->proxy($method{endpoint} || Carp::croak "No server address ( +proxy) specified") unless $self->proxy; my @templates = @{$method{parameters}}; ...
|
|---|