Forum Moderators: open

Message Too Old, No Replies

Web service development

         

venkat_dh

7:46 am on Jun 22, 2006 (gmt 0)



I want to develop a web method in asp.net(vb). the web method should have the return type as MSXML2.IXMLDOMNodeList.

Could any one help me in this regard.

Thanks in Advance,
Venkat

TheNige

8:21 pm on Jun 22, 2006 (gmt 0)

10+ Year Member



Where are you calling this service from? What language?

Your web service can just return the XML document and then you can create the IXMLDOMNodeList from the XML dom doc.

You can make a reference in your web service to the COM msxml2.dll and then just set the return of your web method to MSXML2.IXMLDOMNodeList

You may also want to try using the System.XML.XMLNodeList which might work.