'project with web service
<webmethod()> _
public function myws(id as integer)
'do db stuff with id and build document
Dim xd As New XmlDataDocument
xd.Load("D:\Inetpub\webservice_xml\redbook.xml")
Return xd
end function
----------------------------------------------------------------------------
'project that consumes web service
ws = New com.domain.www.WebService
dgWS.DataSource = ws.myws(100)
dgWS.DataBind()
Here is what is returned in the datagrid:
Prefix HasChildNodes Value HasAttributes NamespaceURI InnerText InnerXml
Name OuterXml BaseURI LocalName IsReadOnly IsEmpty
True True urn:schemas- Company Company False False
Why is it showing me this rather than the data? (A test ran from the web
service invoke method returns the data.)