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

Re: dynamically generated XML Schema?! Re: R:[xml-de

schema tht

I agree WSDL documents should be generated rather than written by hand, 
but doesn't schema provide means to pass trees around whose structure 
you don't know (or at least, do not need to know for the sake of web 
service invocation?).

Generating WSDL dynamically (like creating a new type of service at 
runtime) seems rather odd to me, because sure the invoker program has to 
make sense out of the web service description. If some form of 
negotiation takes place that leads to a new service, the form of this 
negotiation is surely predetermined, and you don't really need to create 
a new schema for that.

It might make sense for contexts, ports (e.g. suppose google rents out a 
searching web service with 20.000 instead of 1.000 queries a day, they 
generate the WSDL after payment has been confirmed.) But dynamically 
changing the type of the data that goes over the wire does not happen there.

Maybe the point is that some specialization occurs (I am inspired by 
what Mike Kay suggested, that later in a process you might want to apply 
stricter validation). Suppose two components talking to each other, 
finding out that they can both deal with more specific messages, and 
then switch to the new protocol. But again, this requires that both know 
the protocol (the schema tht is more specific) in advance.

Maybe some unanticipated reconfiguration mechanism might benefit from 
dynamically generated schemas, but I am still missing a good example for 
such a reconfigurable component.

What would be an ad-hoc interaction that involves the change in the type 
of messages?

Chiusano Joseph wrote:

>I have often thought about the concept of dynamically generated WSDL
>documents, for cases in which more ad-hoc interaction among systems
>needs to occur, perhaps driven by the context of a request. But I think
>we're a ways off from that in terms of standards and products - if it is
>indeed a useful concept.
>Kind Regards,
>Joseph Chiusano
>Booz Allen Hamilton
>Strategy and Technology Consultants to the World
Burak Emir



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.
First Name
Last Name
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.