File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services Certification (SCDJWS/OCPJWSD) and the fly likes WSDL - multiple style= Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCPJWSD)
Reply Bookmark "WSDL - multiple style="rpc" in the binding section" Watch "WSDL - multiple style="rpc" in the binding section" New topic
Author

WSDL - multiple style="rpc" in the binding section

Dan Drillich
Ranch Hand

Joined: Jul 09, 2001
Posts: 1121
All,

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?

Regards,
Dan

William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
Ivan Krizsan
Bartender

Joined: Oct 04, 2006
Posts: 2193
Hi!
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.
Best wishes!


My free books and tutorials: http://www.slideshare.net/krizsan
Dan Drillich
Ranch Hand

Joined: Jul 09, 2001
Posts: 1121
Makes sense - thank you Ivan.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WSDL - multiple style="rpc" in the binding section
 
Similar Threads
soapAction
Problem with SOAP
Where to find encoding
Consume web service error: No service endpoints found
Generate user defined exception from WSDL using JAX-RPC