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

Re: What does SOAP really add?


is soap really simple

--- Didier PH Martin <martind@n...> wrote:
> Off course, what is changing all this are the server side scripts and
> several issues like:
> 
> a) the fact that an HTTP GET can include parameters in the URI. The document
> associated with the URI can be a script and thus create side effects.
> 
> b) The fact that actual servers include the capability to overide any HTTP
> method

Of course it can. The questions are whether it should and whether the user is
responsible if it does. The section above says it shouldn't, and the section
below says the user isn't responsible if it does.

> Jim said:
> >
> > Naturally, it is not possible to ensure that the server does not generate
> > side-effects as a result of performing a GET request; in fact, some
> dynamic
> > resources consider that a feature. The important distinction here is that
> the
> > user did not request the side-effects, so therefore cannot be held
> accountable
> > for them."
> >

> Didier replies:
> I agree that using SOAP to fetch a document is not the best method and all
> my posts reflect this point of view. We can say that independently of the
> HTTP method (either POST or GET), the simple fact that at the side a script
> process the method may lead to side effects. Simply because the method is
> used as an implicit function call. So, I guess that we should enforce the
> difference between document fetching and function call but that would
> contradict the actual practice of thousands if not millions of developers.
> We have more and more to face the web legacy and actual practices in our
> thinking.

My opinion: XSLT makes it easy to do the "right" thing (use GET to fetch an
HTTP resource) and harder to do the "wrong" one. (You can certainly write an
XSLT extension function to POST to a resource.) SOAP, on the other hand, makes
it impossible to do the "right" thing (use GET for safe, idempotent requests)
and easy to do the "wrong" one.

Jim

=====
Jim Ancona
jim@a...                     jancona@x...

__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/

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.