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: [email protected]
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

 

 

Reply via email to