W3C home > Mailing lists > Public > www-ws-desc@w3.org > November 2003

A schema for each mep?

From: FABLET Youenn <youenn.fablet@crf.canon.fr>
Date: Mon, 10 Nov 2003 14:21:54 +0100
Message-ID: <3FAF90F2.3050708@crf.canon.fr>
To: www-ws-desc@w3.org
At last f2f we discussed about rules to retrieve default values for 
message-related constructs.
It seems interesting to have a mep schema for at least two reasons:
    - allow the validation of the content of each wsdl:operation instance
    - allow defaulting of values (such as messageRef or direction)
The idea would be that any author of a wsdl mep spec would also write a 
mep schema.

Attached are examples of what could resemble such schemas (these are not 
complete schemas, for instance the open content model is not taken into 
account). There are two examples, one to accomodate the current notation 
for contents in the wsdl:operation construct and one to accomodate the 
notation as proposed by Jean-Jacques. In each file (example1.xml and 
example2.xml), a <syntax> element is related with a <schema> element. 
Each schema should do some validation of the <syntax> example and give 
default values when possible.

What do you think ? Is this worth continuing exploring this subject?

Quick question: in the case of meps with more than one input message, we 
might have several <wsdl:input> in a <wsdl:operation> construct. Is it 
possible with XML Schema to give a different type for each of these 
<wsdl:input>? If I recall correctly I would say no, but I am not very 
sure (If it is not possible, it might lead to problems for defining 
mep's schemas, with XML Schema at least).

Received on Monday, 10 November 2003 08:22:54 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:06:36 UTC