web service parameters that match a schema

Discussion in 'ASP .Net Web Services' started by Jeremy Chapman, May 9, 2006.

  1. I built a web service method that has one parameter of type XmlDocument. In
    the methods code I load a xsd file and validate the xml document against the
    xsd schema. This does work, but is there any way to specify in the method
    declaration that the parameter must be an xml document matching a specific
    schema? What I am hoping to do is make the wsdl contain the schema that is
    required for the parameter. Anyone know how I can do this?
    Jeremy Chapman, May 9, 2006
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.

Share This Page