using wssf to validate xsd message

Topics: Service Factory Modeling Edition Forum
Mar 27, 2008 at 8:14 PM
Edited Mar 28, 2008 at 1:52 PM
I will revise my question:

We are trying to develop wcf services using WSSF and xml serialization (because of existing xsd's). I have developed a service which receives an xsd message. In testing this service, I sent in an invalidly formed document which passed through, so I assumed that no validation was occurring.

The question is, could someone please point me to where I can hook in to WSSF to validate the incoming message? I have not been able to find any information about this. Which of the projects will allow me access to the schema (in the solution items) and the incoming message?

Thank you.
Developer
Mar 28, 2008 at 3:11 PM
You may take a look about message validation in the Validation Application Block and use it to validate WCF messages like you may see here: http://www.codeproject.com/KB/WCF/WCFVAB.aspx
Mar 28, 2008 at 3:37 PM
Thank you for your answer.

I have seen many posts about the validation app block here before, but did not think it would fit our situation. I will take a deeper look at it.

Thank you