wood burning stoves*
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes WSDL - multiple style= Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
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: 1164
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
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
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: 1164
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
Where to find encoding
Generate user defined exception from WSDL using JAX-RPC
Problem with SOAP
soapAction
Consume web service error: No service endpoints found