Issues

ZF-5188: Zend_Soap_AutoDiscover should be able to generate RPC/Literal styles

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://nabble.com/Cannot-consume-SOAP-Service-td20… 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:

/* '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()); / 's */

Comments

Fixed in trunk, schedulded for inclusion in ZF 1.8