WSDL - multiple style="rpc" in the binding section
Joined: Jul 09, 2001
Ivan has the following segment in the study notes -
style="rpc" is specified twice, once for the soapbind:binding element and once for the soapbind: operation element. Are both needed? which one is taken into account when creating the SOAP message?
William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
Joined: Oct 04, 2006
No, both are not required.
If you declare the style to be RPC in a <soapbind:binding> element that is a child of the <binding> element, then it applies to all the operations of the binding.
You can then declare the style for an individual operation if you want to override the above mentioned setting.