soap & proxy server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi ,
I am having rouble with initializing SoapClient from befind a firewall
to an external web service with a code like this:

 $soapClient = new SoapClient($wsdl,
     array(
     'proxy_host' => $proxy_host,
     'proxy_port' => $proxy_port
     )
 );

After trying for awhile php ends up with the error: "Warning:
SoapClient::__construct(...): failed to open stream: Connection timed
out" (more errors follow).

The proxy options are correct. I can use the same host:port with other
network tools, such as curl or libwww-perl. It looks like passing
proxy options has no effect whatsoever. Any suggestions?

 PHP info: v. 5.1.2 + Apcahe 1.3.23 + RH Linux

 Thanks
 Sergiy

-- 
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux