in reply to Re: connecting with SOAP::Lite 0.710
in thread connecting with SOAP::Lite 0.710

Thanks!.. thr error message is no more there.. but still it is not connecting.. it is giving the following error message..
500 Can't connect to services.soaplite.com:80 (connect: timeout) at so +ap_test.pl line 5
Kindly suggest me the way out from this problem or do I need to change some config at my system?

Replies are listed 'Best First'.
Re^3: connecting with SOAP::Lite 0.710
by Anonymous Monk on Sep 08, 2009 at 13:46 UTC
    Put in a real working proxy for proxy
      yes!.. I am putting real proxy only instead of 'my.proxy.server'..
      yes!.. I am giving the real proxy instead of 'my.proxy.server' in the following code:
      use SOAP::Lite; print SOAP::Lite -> uri ('http://www.soaplite.com/Demo') -> proxy('http://services.soaplite.com/hibye.cgi') -> hi() -> result; my $soap = SOAP::Lite->proxy('http://services.soaplite.com/hibye.cgi', proxy => ['http' => 'my.proxy.server']);
      but is unable to connect giving the following error:
      500 Can't connect to services.soaplite.com:80 (connect: timeout) at so +ap_test.pl line 5
        Turn on trace
        The proxy must be expressed as an absolute URI; hence,

        proxy => ['http' => 'my.proxy.server']);

        must be expressed as:

        proxy => ['http' => 'http://my.proxy.server']);