The Axis 1.x user's guide is using "style" in this context to refer to both
the WSDL style and the databinding choice. The only difference then b/n
"Document" and "Message" is that "Message" has no databinding.

 

-----Original Message-----
From: Spies, Brennan 
Sent: Thursday, March 01, 2007 12:49 PM
To: axis-user@ws.apache.org
Subject: RE: Benefits of using Message style WS

 

Yes. This is independent of your databinding choice.

 

 

-----Original Message-----
From: Joshua White [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 01, 2007 12:46 PM
To: axis-user@ws.apache.org
Subject: Re: Benefits of using Message style WS

 

Exactly.  I am trying to determine if there is any benefit of creating a
service this way.  Are you still able to specify a schema for both your
input/output arguments in the wsdl file if you send messages this way?

 

-Josh

 

On 3/1/07, Spies, Brennan <[EMAIL PROTECTED]> wrote: 

The "Message" style, as defined in Axis 1.x, is really just raw XML (no
databinding). You would, of course, use this if you did not want Java <-> XML
databinding. E.g., you want to do a transformation with XSL or XQuery, or do
your own XML parsing, etc., etc.

 

-----Original Message-----
From: Joshua White [mailto: [EMAIL PROTECTED] 
Sent: Thursday, March 01, 2007 12:19 PM 
To: axis-user@ws.apache.org

Subject: Re: Benefits of using Message style WS

 

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]
<mailto:[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] <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

 

 

 

 

Reply via email to