Just to expand on Anne's remark - You can do the first part of what you're asking for in schema, but not have one field's value depend on another field's value. Also, this will generally be informational only - AFAIK most Web service implementations won't validate against the schema definitions because it adds too much parser overhead, so you'll still have to check in your own code.

- Dennis

Dennis M. Sosnoski
Enterprise Java, XML, and Web Services Support
http://www.sosnoski.com
Redmond, WA  425.885.7197

Anne Thomas Manes wrote:

You can do that in the schema definition in the <types> section.

At 04:31 PM 2/20/2004, you wrote:


Hi y'all,
Is it possible to add some constraints or rules in the WSDL? Meaning, if I want certain fields to only contain certain values, or have one field's value depend on another field's value is this possible?


TIA

-Pete





Reply via email to