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

Re: What does SOAP really add?


does soap actually help
Hi Simon

Simon said:
> Now I'm seeing comments like Adam Bosworth's piece in the newly-titled
> "XML & Web Services Magazine".
> (http://www.fawcette.com/xmlmag/2002_04/magazine/departments/endtag/)
> ------------------
> Loose coupling is central to the nature of Web services-based
> application integration. That's why it seems to me that the right model
> for XML in Web services is a message-oriented, document-based one rather
> than one based on remote procedure calls.
> ------------------
>

Didier replies:
I think that loosely coupled systems are perfect in the case a request for
data or document is performed. If the document returned is semi-structured
or not structured then the receivers will need to perform more processing on
it to make it useful. Otherwise, if the only thing that we need to do is a
remote action like, for instance, setting a switch to ON, then an RPC is
well fitted to the job. When I say well fitted, it is simply in terms of
economies of code. I should need to write only a single line of code to set
the switch. If the system returns more than an error code, something like a
document, this may require from my part more work. That extra work is
outside the problem I am trying to resolve and this is a reduction of my
productivity.

You know what seems to be missing to infosets manipulation is having more
semantics. For instance an element is a bit too generic, it would be more
useful if I could use the semantic part of this element. For instance if the
element is an address it would be more useful to access it as a variable
named address. This implies no impedance mismatch between the problem to
resolve and the object manipulated. What I need to manipulate is an address
not an element. This would lead to programs easier to maintain, etc...

So, I would say that I agree with Adam when we get some data. It is better
that a document is returned. It would be useful also if the language I am
using to perform some action on it gives me an access to the semantic part
of the data, not to generic blobs like elements. I my problem is to process
a part_description then I should be able to use part-description variables
in my program, not elements.

I think that the real problem we are facing is that actually, nobody
implemented something that could help us to process an xml document from the
semantic point of view. We are still trapped at the syntax level. Or if
anybody did that, please, speak loud, this is something I would experiment
in Didier's labs.

Cheers
Didier PH Martin.


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.