Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.7.0, 1.7.1
-
Fix Version/s: 1.8.0
-
Component/s: Zend_Soap_Server
-
Labels:None
Description
Some technologies are discouraging the use of RPC/encoded soap styles and are rather using RPC/Literal specifically JBossWS doesn't support rpc/encoded anymore, so it may be useful to consider this for next release of Zend_Soap_AutoDiscover since it uses rpc/encoded by default.
Luckily for me I found this thread: http://www.nabble.com/Cannot-consume-SOAP-Service-td20688943.html which seems to work fine. I don't know which is the tendency but meanwhile it would be great if we could have the ability to chose either styles.
Here is the code suggested on the post:
/* <wsdl:binding>'s */
$operation = $wsdl->addBindingOperation($binding, $method->getName(), array('use' => 'literal', 'namespace' => $this->getUri()), array('use' => 'literal', 'namespace' => $this->getUri()));
$wsdl->addSoapOperation($operation, $uri->getUri() . '#' .$method->getName());
/* </wsdl:binding>'s */
Fixed in trunk, schedulded for inclusion in ZF 1.8