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

RE: What does SOAP really add?


soap function
> From: Didier PH Martin [mailto:martind@n...]
> Sent: Tuesday, April 23, 2002 4:31 PM
> To: Julian Reschke; Bill de hÓra; xml-dev@l...
> Subject: Re:  What does SOAP really add?
>
>
> Hello Julian,
>
> Julian said:
> > Well, there are other URI schemes than HTTP. For instance, FILE.
>
> Didier replies:
> Yes the file protocol can be expressed as a URI as in the
> following example:
> file://c:dir1/dir2/doc.xml. It works well within the context of the actual
> "document" function (but could be a real security threat is not
> using in the
> proper context). Any other protocol expressed as a single URI and
> returning
> an XML document is OK in the current framework.
>
> Now what about all the other ways to obtain an XML document?

I don't understand the question. I just stated that XSLT's document function
itself is not tied to GET -- GET just happens to be the default retrieval
method for HTTP. Whether and what other URI schemes are supported by an XSLT
engine is implementation-specific.

> Julian said:
> > I personally don't think it's an issue at all. As others
> pointed out, POST
> > may have side effects, so I'm not convinced that it is a good idea to do
> it
> > from XSLT.
>
> Didier replies:
> I expected something better than using an external authority argument
> Julian. The simple fact is that if the document function is replaced by
> another construct allowing to do such things as an HTTP POST or any other
> HTTP based functions like for instance a WEBDAV SEARCH method, then if and
> only if the construct is used to fetch an XML document, then, there are no

Wait-a-minute. Just because an HTTP method returns an XML document doesn't
mean that it doesn't have side-effects.

> side effects. The only problem would be to retrieve a document that cannot
> be parsed. This problem is also present with the actual
> "document" function
> anyway. So, the answer is: there are no side effects if the construct is
> doing what was previously stated (i.e. limited to a document fetch)

I think this is a misunderstanding.

For instance, a WebDAV DELETE with depth: infinity may return an XML
document (multistatus), but it certainly has side effects.

> In fact, to be really up to date with the basic web methods, such
> function/construct would be compatible with IETF messages' structure which
> is
>
> method URI
> attribute:value
> ......
> attribute:value
>
> body....
>
> This would allow us to obtain XML documents with WEBDAV, SIP and any other
> in progress internet messages protocols.

I happen to know WebDAV and can tell you that WebDAV's method to obtain a
document is ... GET (WebDAV is just an extension of HTTP).

Now I agree that it would be nice if there was a way to get some of the XML
formatted information that a WebDAV server can offer into XSLT. I can think
of two:

- assign the information a URI on which you can do a GET

- use an XSLT extension function

Julian



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.