Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > PROBLEM: webservice, XmlNode return value, XMLSchema and WSDL

Thread Tools

PROBLEM: webservice, XmlNode return value, XMLSchema and WSDL

Posts: n/a
Is there a way to make the following:

1. we have a webmethod, that should return an xml document that is valid
respect an XmlSchema.
2. the web method is like the following:

public XmlNode MyMethod ( ... param-list ...) {
... build xml-document that respect the XmlSchema
... return xml_doc;

3. When viewing the generated WSDL , we see only a general return type, not
the Xml Schema.

How instruct the .net system, to consider the return value from the
webmethod-call, as exactly
compliant or valid, to the giveng XmlSchema ?

Thanks for any help.


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with XmlNode type in wsdl file Archana ASP .Net Web Services 1 03-01-2007 07:58 PM
XMLSchema and XML Validation problem Robert Ludewig XML 4 06-28-2004 01:56 PM
Regression Apache Xerces ? DOCTYPE and XMLSchema BODIN XML 0 12-08-2003 12:36 PM
Relation between XmlNode and WSDL minoccurs or type Patrick ASP .Net Web Services 0 10-15-2003 12:26 PM
NullReferenceException...hitting them all today...on XmlNode return Kathy Burke ASP .Net 0 07-24-2003 08:08 PM