Validation from schema?

Topics: Building and extending application blocks, Validation Application Block
Apr 28, 2007 at 10:35 PM
With WCF all of our messages are basically defined with an XSD. The types for the input and output for each message is defined with an XSD type and as part of the type there are restrictions for each type. I would like to be able to extract the validation information from the schema and use it to create a validator in the enterpise library sense. Does such a tool exist?

Thank you.

Kevin Burton
May 2, 2007 at 3:25 AM
Edited May 2, 2007 at 3:57 AM
There isn't a tool like this that ships with Enterprise Library 3.0, but it would definitely be a useful tool.




David Hayden
Microsoft MVP C#
Feb 10, 2012 at 6:13 PM

Does such a tool exist yet? (nearly 5 years later ;) )

Feb 10, 2012 at 8:11 PM

I can see the value of the tool (especially if performing contract first development) but, unfortunately, I'm not aware of any tool that does that.  My gut (and experience) says that most people aren't developing WCF with XSD schemas which is probably why it doesn't exist.

Randy Levy
Enterprise Library support engineer