OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Categories of Web Service messages: data-orientedvs action

[ Lists Home | Date Index | Thread Index ]

on 2/4/02 11:45 AM, Roger L. Costello at costello@mitre.org wrote:

> I have convinced myself that there are two fundamentally different
> approaches to designing Web service XML messages.  They are:
> 
> 1. The data-oriented approach
> 
> 2. The action-oriented approach
>
> [snip]
>
> I contend that this action-oriented root element gives the message a
> very different feel.  I contend that it tightly couples the message to a
> particular kind of service - one that returns flight information.  The
> data-oriented approach, on the other hand, is not coupled to any
> service, so it could be used by a variety of services.

You would still have to identify what service you want your data to be used
with. Are you thinking of embedding a service "code" of some kind in the
data itself?

In other words, you would need both. Conceptually, you can combine the two
"approaches" as:

<getFlights>
    <itinerary>
        ...
    </itinerary>
</getFlights>

Regards,

Ramesh Gupta





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS