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

Issue Type: Improvement Created: 2008-12-08T18:51:49.000+0000 Last Updated: 2008-12-10T11:27:13.000+0000 Status: Resolved Fix version(s): - 1.8.0 (30/Apr/09)

Reporter: Erick Martinez (emartinez) Assignee: Benjamin Eberlei (beberlei) Tags: - Zend_Soap_Server

Related issues: Attachments:


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:… 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 */


Posted by Benjamin Eberlei (beberlei) on 2008-12-10T11:27:13.000+0000

Fixed in trunk, schedulded for inclusion in ZF 1.8

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.