ZF-9626: Zend_Soap_Client requests do not respect the port specified.
Description
Creating the client succeeds: $this->client = new Zend_Soap_Client('http://server.com:10080/path/service.asmx?WSDL'); A request fails: $response = $this->client->request($query); with "Internal Server Error"
However when I pretend I have a proxy: $this->client = new Zend_Soap_Client('http://server.com/path/service.asmx/…('proxy_host' => 'server.com', 'proxy_port' => 10080)); The request succeeds: $response = $this->client->request($query);
I think this may be a PHP bug. If so, let me know, and I will report it there. Thanks!
Comments
Posted by Jan Pieper (jpieper) on 2010-10-17T14:22:38.000+0000
Is your client running on the same server using the same port as your server?
I am not able to reproduce this bug so it's quite hard to say whether this is a bug or not.
Are you able to provide some more information?
Posted by Stef M (stef_m) on 2012-08-10T07:22:08.000+0000
Hello, I'm having the same problem. The response: SoapFault->message = 'Not Found'. I have used the same solution as Simon (pretend i have a proxy).
Posted by Shamil Nunhuck (shamil) on 2012-10-08T10:11:40.000+0000
Issue appears to be a bug in PHP: https://bugs.php.net/bug.php?id=30359, apparently was fixed in 5.0, but still persists throughout. As noted above, "fix" is to send the request through a fake proxy.
Will test and confirm whether this matters if the soap client and server are local or remote.