The Developer Day | Staying Curious

May/08

20

PHP SoapClient proxy port problem

We couldn’t get soapclient with proxy working on our local machines. It was very lucky of me to find the following comment on php.net:

I kept having a problem using an HTTP proxy with SOAP. The proxy_port parameter has to be an integer, ie. "proxy_port" => "80" won't work, you'll have to use "proxy_port" => 80.

Incredibly hard to catch bugs like these. It’s probably a bug that should get reported. It would be nice to have a note in the documentation to warn other developers from experiencing the same problem.

RSS Feed

4 Comments for PHP SoapClient proxy port problem

Marina | January 28, 2009 at 4:14 PM

Hi,
It was very lucky of me to find your comment ! How many more hours I would have spent on this ! Thanks a lot.

Bryan Gonderinger | April 22, 2009 at 10:21 PM

Thanks for this info - I ran into exactly the same issue, but unfortunately did spend a while troubleshooting before arriving at this page.

Jacob | June 4, 2010 at 12:04 PM

Thanks for the info. Helped me out a lot. :-)

Ahmad | November 16, 2010 at 11:45 AM

Thx very much.Very helpful

Leave a comment!

<<

>>

Find it!

Theme Design by devolux.org