Web Service and Schema validation

A

Aaron

Hi all,

I have a web service that takes XML as input and validates it against a
Schema which I am going to use in future for creation of an InfoPath form.
The problem is that when I create a form based on the schema and then submit
to the web service the validation fails because of the tags that InfoPath
adds to the root node.

I guess InfoPath validates against the schema so I can drop that part of the
web service if the source of the xml parameter is InfoPath, but is this the
correct way to do it? How come I can create a Schema, base a form on it and
then the resulting XML no longer conforms to the Schema it was created
from???

Thanks,

Aaron.
 
A

Aaron

Aha! Posted too soon, looks like it was just the xml:lang attribute that
gets passed in and I didn't have in my Schema.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top