ZF-7362: When performing a remote WSDL request throught Zend_Soap_Client, script hangs until timeout is received.

Issue Type: Performance Improvement Created: 2009-07-23T05:06:30.000+0000 Last Updated: 2009-07-27T11:53:02.000+0000 Status: Resolved Fix version(s): Reporter: Alayn Gortazar (alayn) Assignee: Benjamin Eberlei (beberlei) Tags: - Zend_Soap_Client

Related issues: Attachments:


How to reproduce: * Remote Web Service written in Java with JAX-WS. * WSDL accesible through: http://localhost/WS/exampleWS?wsdl * Accesed from PHP by: $client = new Zend_Soap_Client("http://localhost/WS/exampleWS?wsdl");

Once the timeout is achieved, the wsdl is succesfully cached and everything works ok. But the first call is unacceptable, as timeout is no more an option in Zend_Soap_Client.

It seems like the reason could be related to the HTTP protocol used, as JAX-WS always returns an HTTP1.1 response, eventhought PHP seems to send an HTTP1.0 request. Could it be possible to force the HTTP1.1 protocol from Zend_Soap_Client?? or is it a PHP related issue??


Posted by Alayn Gortazar (alayn) on 2009-07-23T06:58:29.000+0000

It seems it could be related to this ┬┐fixed? PHP bug:

I will take a look as soon as i have time to give a chance to PHP 5.3

Posted by Alayn Gortazar (alayn) on 2009-07-27T05:28:33.000+0000

Sorry, it definitely is a PHP bug. I updated to PHP5.3 and everything works OK. You can close this issue. Sorry :S

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.