Peter,
If you check the WSDL of your web service, you'll see that the service just
returns the raw Xml contained in the XmlDataDocument inside the Response
element. The client does not know anything about the Xml coming from an
XmlDataDocument.
How you read it from the asp page, depends on the libraries you are calling
the web service with.
If you can post more details I can you more. You can also take a look at
this article on MSDN on .NET web services interoperability [0].
HTH,
Christoph Schittko
Software Architect, .NET Mentor
MS MVP XML .NET
[0]
http://msdn.microsoft.com/library/en...asp?frame=true
"Peter Feakins" <fe*****@berbee.com> wrote in message
news:u8**************@tk2msftngp13.phx.gbl...
We're building some web services that are primarily being consumed by a
..net application. We're returning datasets for that purpose. We're also have
to provide access to these services to classic asp pages. To do this we're
returning a XmlDataDocument ie
Public Function GetDataAsXml(...)
return new XmlDataDocument(GetDataAsDataSet)
End Function
1. How would you access the XmlDataDocument in asp ?
2. Is there a simple way to return as type string?
thanks