[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Categories of Web Service messages: data-oriented vsaction


data oriented approach
2/4/2002 2:45:21 PM, "Roger L. Costello" <costello@m...> wrote:

>
>Subject: Approaches to designing XML messages
>
>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
>
>I believe that which approach a person takes will have serious
>implications on the nature of Web services.

>a. Has someone already articulated the two approaches?

As I understand it, you are distinguishing "messaging" (data 
exchange) from "remote procedure calls" (the action oriented 
approach).  In SOAP terms, the envelope defines the fundamental 
message unit or "wire format" (including the identity of the service 
that the message is directed to), and RPC is one of a number of 
"message exchange patterns" that can be layered on top of SOAP.  SOAP 
1.1 allowed this, and SOAP 1.2 makes this much more explicit in the 
spec.


> b. What are the pros/cons of the two approaches

In SOAP-ese, this would be posed as "under what circumstances is one 
message exchange pattern more appropriate than another".  I haven't 
seen a lot of explicit discussion of this, although it comes up 
tangentially on xml-dist-app from time to time and we did have a 
discussion here a month ago that discussed messaging vs RPC; Leigh 
summarized it at http://www.xml.com/pub/a/2002/01/16/deviant.html

> c. Intuitively, I think that the data-oriented approach
>  is the right approach.

Certainly in some situations, especially where "bulk" data transfers 
are happening, humans are involved in the processing, and probably 
more generally in loosely coupled application architectures.  In 
others, especially where you want to leverage programmers' more 
widespread familiarity with the synchronous RPC paradigm AND you have 
the network/security/processing infrastructure to support it, 
"actions" make lots of sense.





PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.