Brennan, Thanks for the reply. I understand the value of the doc/literal wrapped style. I was hoping to go one step further though. Axis 1.X supports RPC, Document, Wrapped, and Message style services. I was hoping to determine the benefits of using Messsage style services over doc/literal wrapped. To be perfectly honest, I don't know enough about Axis2 to know if Message style services are still supported. Have you used them? Do you know what the advantages are?
Joshua On 3/1/07, Spies, Brennan <[EMAIL PROTECTED]> wrote:
If you have "overloaded" operations in WSDL, you cannot use doc/literal wrapped style. In the wrapped pattern, you require an element to have the same name as the operation, and you cannot have two elements with the same name in XML. Other than that, doc/lit wrapped has the nice advantage that it is the "best of both worlds", having the operation name in the SOAP message but also the greater expressiveness of the document style. Good article here: http://www-128.ibm.com/developerworks/webservices/library/ws-whichwsdl/ If you are using Axis 2.0 with databinding, you may want to choose a databinding framework (such as JiBX) that supports the wrapped style. Brennan -----Original Message----- *From:* Joshua White [mailto:[EMAIL PROTECTED] *Sent:* Thursday, March 01, 2007 7:27 AM *To:* axis-user@ws.apache.org *Subject:* Benefits of using Message style WS Hello, I am having a hard time understanding the benefits of using a message style web service as opposed to a regular doc/lit wrapped service. Could someone please clarify this for me? Regards, Joshua