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

Re: query in xml

  • From: Stefan Tilkov <info@t...>
  • To: "Developers xml-dev@l..." <xml-dev@l...>
  • Date: Thu, 31 May 2007 16:54:38 +0200

Re:  query in xml
In SOAP, there is no concept of a "method" - with some restrictions,  
you can basically pass any XML as the SOAP body and add some metadata  
to the envelope's header.

Possibly, you're talking about WSDL, which has a concept of an  
operation, so maybe you mean that you want to get by with a single  
WSDL interface (portType in 1.1) that has just one operation (or at  
least, a fixed set of operations). Even then, passing the XML as a  
string is a bad idea since you'd need to escape it. It's not great,  
but much better, to use an xsd:any.

If you don't care for generating interface-specific code from a WSDL  
file anyway, you might want to consider forgetting about SOAP and  
WSDL and use plain HTTP in a RESTful manner instead.

Stefan
--
Stefan Tilkov, http://www.innoq.com/blog/st/

On May 31, 2007, at 4:13 PM, Yannick Beynet wrote:

> Exactly ! I want to know If there is some "best practise" for
> developing an XML query language.
> Our problem is :
> We want to add a soap gateway to access an old legacy system. This
> system is very complex , many request, with many arguments. We don't
> want to add one soap method for any sort of request. We prefer adding
> just one method with one arguments : a string. This string should be
> our query (written in XML).
>
>
> 2007/5/31, Michael Kay <mike@s...>:
>> >
>> > Sorry, but you need to explain better; you want an XML query
>> > language, but not Xquery because it's an XML query language?
>> >
>>
>> I *suspect* that what he wants is a query language for some kind of
>> (unspecified) non-XML data but which is expressed using XML  
>> syntax. Perhaps.
>>
>> Michael Kay
>> http://www.saxonica.com/
>>
>>
>
> ______________________________________________________________________ 
> _
>
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
>
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: xml-dev-unsubscribe@l...
> subscribe: xml-dev-subscribe@l...
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
>



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.