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

Re: Limitations of XML as a remote service medium?


limitations of xml
> 1) The redundancy of submitting either of these message to a single
> end point (identified by URL) and the additional 'path' argument to
> specify which resource to apply the method.

Where does SOAP say you're limited to using just one URL?  I know
it's more common to have a single URL for the whole service, but since
you're presumably writing the server (assuming since you mention PUT
below), there's nothing preventing you.

> 2) This is the real show stopper for me.  Basically, having to submit
> XML content within a SOAP message is problematic ...

Yup; it's a generic XML-in-XML problem.  You might want to think about
multipart MIME, which both SOAP and REST engines should be able to
handle.  Yes, it requires both sides to do some work.  Using GZIP on
the HTTP layer might be a bit more transparent and get similar effect.

> or encode the document in a portable binary format (base64 is what I
> decided upon in my case)

Yes, that's what everyone does.

> 1) It seems xPath,fetchResource are distinct enough to require a
> seperate service for each

My first inclination would be to encode the XPath expression as a
query parameter, sop that
        /foo/bar  does fetchResource
        /foo/bar?xpath='.....' does xpath
As long as /foo/bar doesn't change, the xpath representation wouldn't
change, so it meets the GET criteria...

> 2) Are the semantics of PUT/POST distinct enough to justify using POST
> for the xUpdate submission and PUT for the setContent submission?

That's my reading of it.

        /r$

-- 
Rich Salz                  Chief Security Architect
DataPower Technology       http://www.datapower.com
XS40 XML Security Gateway  http://www.datapower.com/products/xs40.html



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.