ZF-12091: setBindingStyle() and setOperationBodyStyle() do not work if declared after setClass()... using Zend_Soap_AutoDiscover class

Issue Type: Bug Created: 2012-03-08T11:42:50.000+0000 Last Updated: 2012-03-08T11:43:58.000+0000 Status: Open Fix version(s): Reporter: Shadow Caster (shadowcaster) Assignee: Alexander Veremyev (alexander) Tags: - Zend_Soap_Wsdl

Related issues: Attachments:


If you set the binding style or operation body style before setting the class it works fine. But if you set the binding style or operation body style after setting the class it does not set the new styles.

Broken Implementation:

Zend_Loader::loadClass('Zend_Soap_AutoDiscover'); $ad = new Zend_Soap_AutoDiscover(); $ad->setClass('MySoapClass'); $ad->setBindingStyle(array('style'=>'document')); $ad->setOperationBodyStyle(array('use'=>'literal')); $ad->handle();

To make the above code work just move the $ad->setClass('MySoapClass') line of code to just before the last line.


No comments to display

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.