Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: connecting with SOAP::Lite 0.710

by Anonymous Monk
on Sep 08, 2009 at 13:46 UTC ( #794133=note: print w/ replies, xml ) Need Help??


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

Put in a real working proxy for proxy


Comment on Re^3: connecting with SOAP::Lite 0.710
Re^4: connecting with SOAP::Lite 0.710
by perl_search_m (Novice) on Sep 09, 2009 at 04:39 UTC
    yes!.. I am putting real proxy only instead of 'my.proxy.server'..
Re^4: connecting with SOAP::Lite 0.710
by perl_search_m (Novice) on Sep 09, 2009 at 05:01 UTC
    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
        I activated the trace in by adding the following line:
        use SOAP::Lite +trace => all;
        and I got following in the error:
        SOAP::Transport::new: () SOAP::Serializer::new: () SOAP::Deserializer::new: () SOAP::Parser::new: () SOAP::Lite::new: () SOAP::Transport::HTTP::Client::new: () SOAP::Lite::call: () SOAP::Serializer::envelope: () SOAP::Serializer::envelope: hi SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Transport::HTTP::Client::send_receive: HTTP::Request=HASH(0x9eea +f9c) SOAP::Transport::HTTP::Client::send_receive: POST http://services.soap +lite.com/hibye.cgi HTTP/1.1 Accept: text/xml Accept: multipart/* Accept: application/soap Content-Length: 425 Content-Type: text/xml; charset=utf-8 SOAPAction: "http://www.soaplite.com/Demo#hi" <?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:xsi="http:/ +/www.w3.org/2001/XMLSchema-instance" xmlns:soapenc="http://schemas.xm +lsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema +" soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmln +s:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><hi xml +ns="http://www.soaplite.com/Demo" xsi:nil="true" /></soap:Body></soap +:Envelope> SOAP::Transport::HTTP::Client::send_receive: HTTP::Response=HASH(0xa02 +ecf8) SOAP::Transport::HTTP::Client::send_receive: 500 Can't connect to serv +ices.soaplite.com:80 (connect: timeout) Content-Type: text/plain Client-Date: Wed, 09 Sep 2009 09:18:59 GMT Client-Warning: Internal response 500 Can't connect to services.soaplite.com:80 (connect: timeout) SOAP::Deserializer::deserialize: () SOAP::Parser::decode: () 500 Can't connect to services.soaplite.com:80 (connect: timeout) at so +ap_test.pl line 4 SOAP::Lite::DESTROY: () SOAP::Deserializer::DESTROY: () SOAP::Parser::DESTROY: () SOAP::Transport::DESTROY: () SOAP::Transport::HTTP::Client::DESTROY: () SOAP::Serializer::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: ()
      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']);

        yes!.. I am expressing in absolute form only.. with
        "http://my.proxy.server/".
        I tried wget command for the site
        'http://www.soaplite.com/Demo'
        and it is giving following as output:
        Proxy request sent, awaiting response... 404 Not Found 10:24:42 ERROR 404: Not Found.
        Kindly suggest me what should I do?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://794133]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (10)
As of 2014-11-26 16:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (172 votes), past polls