-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Joshua,

The advantages of using message instead of document oriented services
are usually subtle. Most of the time is better to just call them
differences :-)

The main advantage you will find is flexibility:

- - No data binding --> no restrictions from the data binding framework
- - No uniqueness constraints --> operations can be overloaded
- - No pre-parsing --> you can even process requests the server does not
"officially" support (for example, RPC/encoded in Axis 2)

Additionally, in certain cases, the performance overhead associated to
the XML parsing and conversion to and from beans can be an important
factor. If the operation logic is simple enough, using Raw XML may
significantly improve the scalability of your service.


Take into account that the flexibility of message services is also a
disadvantage. Web service interoperability is very important today, and
raw XML can break it very easily. If you choose this way, you should
take care of these aspects.

Another important factor is that using raw XML requires different
expertise from your programmers. This may be a disadvantage, or not. It
depends on the case.

Finally, as Brennan said, your service should still be described through
a WSDL descriptor. Indeed, in the case of message services, the WSDL
becomes even more important than ever, because Axis will never be able
to generate it from your code, and your programmers will need to know
what is the expected syntax of the service inputs and outputs.

HTH,
Rodrigo Ruiz

Joshua White wrote:
> 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
>  
>  

- --
- -------------------------------------------------------------------
GRID SYSTEMS, S.A.             Rodrigo Ruiz
Parc Bit - Edificio 17         Research Coordinator
07121 Palma de Mallorca
Baleares - Spain               Tel: +34 971 435 085
http://www.gridsystems.com/    Fax: +34 971 435 082
- -------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (MingW32)

iD8DBQFF5+s4p9m/F5UenDoRAs+vAJ42rgJUR4JfQWhX4OxCg3a3eFHwpACfbBqZ
VQBH/T/oegGfMH+Fz2G3WuY=
=j9Ac
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to