Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

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

Replies are listed 'Best First'.
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 ('') -> proxy('') -> hi() -> result; my $soap = SOAP::Lite->proxy('', proxy => ['http' => 'my.proxy.server']);
    but is unable to connect giving the following error:
    500 Can't connect to (connect: timeout) at so 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 HTTP/1.1 Accept: text/xml Accept: multipart/* Accept: application/soap Content-Length: 425 Content-Type: text/xml; charset=utf-8 SOAPAction: "" <?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:xsi="http:/ +/" xmlns:soapenc="http://schemas.xm" xmlns:xsd=" +" soap:encodingStyle="" xmln +s:soap=""><soap:Body><hi xml +ns="" 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 (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 (connect: timeout) SOAP::Deserializer::deserialize: () SOAP::Parser::decode: () 500 Can't connect to (connect: timeout) at so 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
        I tried wget command for the site
        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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://794133]

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2017-08-21 12:55 GMT
Find Nodes?
    Voting Booth?
    Who is your favorite scientist and why?

    Results (323 votes). Check out past polls.