Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to convert an RPC/encoded style WSDL into document/literal

Tags:

soap

wsdl

I need to generate a new WSDL file in the document/literal style based on an old RPC/encoded one. I've viewed the other WSDL questions here - and read http://www.ibm.com/developerworks/webservices/library/ws-whichwsdl/. This suggests that the document/literal WSDL should have an additional part - but my old RPC/encoded document has such a part (or more precisely ) as well. Does that mean that I only need to change the bindings and I am done?

like image 266
zby Avatar asked Nov 14 '08 14:11

zby


2 Answers

This technical article may help you:
Converting RPC/literal to Document/literal

like image 143
user67975 Avatar answered Sep 18 '22 05:09

user67975


If you are using PHP, you can use the Zend framework's Zend_Soap_AutoDiscover class. It has options to generate different WSDL styles and uses. See here: http://www.phpriot.com/manual/zf/zend.soap.autodiscovery.wsdlstyles and here: http://www.phpriot.com/articles/zend-soap/6

like image 28
Tash Pemhiwa Avatar answered Sep 22 '22 05:09

Tash Pemhiwa