users@wadl.java.net

RE: Question about grammars and request/response

From: Hadley, Marc J <mhadley_at_mitre.org>
Date: Fri, 25 Jun 2010 17:22:22 -0400

You can specify the root element of a request or response XML representation by setting the value of the element attribute of the representation element. WADL doesn't specify that this element value is used for validation but an implementation could certainly make that decision for requests and responses.

HTH,
Marc

>-----Original Message-----
>From: Thomas Zastrow [mailto:post_at_thomas-zastrow.de]
>Sent: Friday, June 25, 2010 3:04 AM
>To: users_at_wadl.dev.java.net
>Subject: Question about grammars and request/response
>
>Hello,
>
>I try to get familar with the WADL specification and therefor I read a
>lot of documents and googled or example, but there is still one thing
>which I don't understand.
>
>In the grammar section of a WADL file, I can point to other XML schema
>files. But how can I use them later in the WADL file? What I want to
>achieve ist, that the in- and output data in the request/response
>sections have to be validated against a schema. Is that possible to do?
>
>Thank you very much!
>
>Best wishes,
>
>Tom
>
>
>
>--
>Thomas Zastrow
>Seminar fuer Sprachwissenschaft
>Universitaet Tuebingen
>
>Wilhelmstr. 19
>D-72074 Tuebingen
>
>http://www.thomas-zastrow.de
>
>Tel.: 07071/29-73968
>Fax: 07071/29-5214