ZF-9626: Zend_Soap_Client requests do not respect the port specified.

Issue Type: Bug Created: 2010-04-06T20:19:24.000+0000 Last Updated: 2012-10-08T10:11:40.000+0000 Status: Open Fix version(s): Reporter: Simon (_sims_) Assignee: Alexander Veremyev (alexander) Tags: - Zend_Soap_Client

Related issues: Attachments:


Creating the client succeeds: $this->client = new Zend_Soap_Client(''); 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('…('proxy_host' => '', '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!


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:, 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.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.