473,387 Members | 1,669 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

XmlDataDocument/Dataset

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

Nov 11 '05 #1
1 3503
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

Nov 11 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: James Ankrom | last post by:
Why does this fail? Dim relResources As New Data.DataRelation("Application_Resources", ..Tables("User_Applications").Columns("Application_id"),...
3
by: Wolfgang Woznik | last post by:
Hello, I have a Client/Server system based on a single generic communication method using XML (as done in MS Project-Server or SharePoint-WebServices). To transfer DataSets I'am using...
1
by: Derrick | last post by:
Thanks to many on this newsgroup, I now have a prototype Windows Forms C# app that reads xml documents into DataSets via XmlDataDocument, and does *stuff* with it. I basically have about 25 megs...
3
by: Derrick | last post by:
I am reading in xml files that equate to sql tables, via XmlDataDocument, and then operating on the DataSet. With the most simple app that just loads the xml doc, I see the memory footprint of the...
2
by: deko | last post by:
I create an XmlDataDocument Dataset when the main form of my WinForms app opens. The user will make changes to the Dataset, and then those changes should be saved to the XML file when the code...
0
by: Vinit | last post by:
hi if i try to synchronize a dataset with xml using XmlDataDocument dataDoc = new XmlDataDocument(dataSetName) it throws an exception saying Object reference not set to an instance of the...
1
by: phl | last post by:
Hi, I am trying to design a good way of dealing with my XML data. There's mostly like going to be less than 200 records. I would like to be able to read XML data so I display it in my front...
1
by: JD | last post by:
I have a DataGridView with a DataSet as DataSource. The user can update the contents of the DataGridView, and then click on a Save button to save the data to an XML file. When they click on...
2
by: ERingmae | last post by:
Hi, The environment is .NET 2.0, the language is C# and the problem is reading XSD file with xs:redefine section correctly to a XMLDataDocument.DataSet. What I am trying to do: I am trying...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.