 |
 |
 |
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
>
|
 | 

|  |
These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.
|  |
| |
 |
 |
 |