Issues

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:

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.

Have you found an issue?

See the Overview section for more details.

Copyright

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

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

Contacts