Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks,

using soap-lite I am making soap call to a remote server, but I am behind a proxy server and proxy server is blocking the soap request and the program is failing.

did anyone faced this issue before? Is there any way to solve this? appreciate your help

Thanks

Replies are listed 'Best First'.
Re: SOAP call from behind a proxy server
by crashtest (Curate) on Dec 29, 2009 at 23:27 UTC

    SOAP::Lite uses LWP behind the scenes (for HTTP transports). Take a look at the documentation for SOAP::Transport, in particular the section entitled HTTP Proxy Settings. It supplies some examples.

    If you can't get that to work immediately, take a step back and see if you can connect to your endpoint using LWP::UserAgent. If you can get that to work, then you can get SOAP::Lite to connect as well.

    Hope this helps...

      Hi,

      Thanks for your suggestion. None of them worked for me.

      Lastly I found out that .. the problem is with network firewall. Somehow it's blocking the request.

      Wish you all a Happy New Year 2010.Thanks