[Xml-compile] The difference between document and rpc bindings
Mark Overmeer
mark at overmeer.net
Mon Nov 17 09:59:09 GMT 2008
* Zbigniew Lukasiak (zzbbyy at gmail.com) [081114 14:01]:
> On Fri, Nov 14, 2008 at 1:52 PM, Mark Overmeer <mark at overmeer.net> wrote:
> > SOAP-RPC is an half-way definedness: in the literal case, fragments
> > of the body are well defined, but not precisely how they are used.
> Thanks. One more question: is that normal that in my RPC/encoded
> style WSDL I have a <wsdl:types> section?
Yes. The types defined therein are often used explicitly like:
<MyRPCCall>
<MyCallData xsi:type="tns:mytype">
> I am trying out the possibilities available for me here - and one of
> them would be to convert manually the existing RPC/encoded WSDL into a
> document/literal style and then generate the server using
> XML::Compile. It looks like it has all what is needed by
> document/literal (as described in
> http://www.ibm.com/developerworks/webservices/library/ws-whichwsdl/) -
> but still the style is specified as RPC/encoded.
RPC interface authors (or their tools) are lazy. That is always a
bad point to start. See the example scripts in XML::Compile::SOAP
on how to construct RPC messages: this interface will be simplified
in one of the following ::SOAP releases, because there are a few
ways to improve it.
--
Regards,
MarkOv
------------------------------------------------------------------------
Mark Overmeer MSc MARKOV Solutions
Mark at Overmeer.net solutions at overmeer.net
http://Mark.Overmeer.net http://solutions.overmeer.net
More information about the Xml-compile
mailing list