Using XSD file to validate XML in a web service

Does anyone know how to use an XSD file within a domino web service to perform validation on the incoming xml?

thank you

Bevan

Subject: Lotus notes 8.5 - validate xml with xsd schema file.

Hello Team,

Greetings!

I am writing a web service provider program for sharepoint in Lotus notes 8.5. The web service is a simple call with input of two parameters userid and document number. The document number is the key to lookup in lotus notes database and respond the values of the document in xml format to sharepoint.

For writing web service provider, I have received a schema file eg: “SPNS.xsd” file from sharepoint team. The person has instructed me to validate the xml generated by lotus notes with the schema before generating response for the Sharepoint input call. I am struck up in this functionality.

  1. How and where to place the schema file “SPNS.xsd”.

  2. How to include and validate the schema with the xml output generated from Lotus notes program.

Since it is LN 8.5, I normally can’t use the Dom or other Parsers in the program.

Please help me in this regard.

Thanks in Advance,

Sundar.