473,383 Members | 1,818 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,383 software developers and data experts.

Web Services and Datasets Question!

If I have an ASP.NET WebService with a method that returns a Dataset,
this Dataset can be consumed by non-microsoft development tools like
Java or Flash? What happens if it is an ASP.NET 2.0 strongly typed
dataset?

Where can I find a list of the data typed that can be used to
communicate in a cross-platform environment using webservices?

Nov 19 '05 #1
1 904
When cross-platform data passage is a concern, you must stay away from all
proprietary data formats. A DataSet is a class in the Microsoft .NET
Framework. A DataSet will not be consumable by any other platform than
..NET.

Now, a DataSet is serializable and that means that it can be expressed as
XML. Using the GetXML and GetXMLSchema methods of a DataSet, you can get
the XML representations of the data and the table(s) structure respectively.
This XML could then be passed to some other consumer that does not have to
be a Microsoft .NET platform. But, the DataSet object itself should not be
passed.

You really don't need a "list" of data-types that can be passed in a
cross-platform way. All you really need to know is that when cross-platform
data sharing is your requirement, then the data and the schema for the data
should be passed as XML. In .NET, DataSets and DataTables can easily be
expressed as this XML.
"Artificer" <el*************@gmail.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
If I have an ASP.NET WebService with a method that returns a Dataset,
this Dataset can be consumed by non-microsoft development tools like
Java or Flash? What happens if it is an ASP.NET 2.0 strongly typed
dataset?

Where can I find a list of the data typed that can be used to
communicate in a cross-platform environment using webservices?

Nov 19 '05 #2

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

Similar topics

7
by: Mark | last post by:
I built the example application outlined in this artical: http://msdn.microsoft.com/library/default.asp? url=/library/en-us/dnservice/html/service02112003.asp There were a number of questions...
0
by: moko | last post by:
This is a bit long-winded. Can somebody read thru these 2 use cases, and tell me if it is feasible ? :- Use Case : Replication before Offline Synch Scenario 1 : Oracle Server , MSDE client ...
0
by: Bj?rn Mor?n | last post by:
I am consuming a web service that returns arrays of classes which can contain other classes (a hierarchy of data). Is there a simple way to move the data into a typed DataSet without writing too...
4
by: Alpha | last post by:
I have a small Window application and through out the different forms I create a different dataset. At the begining I used the Tools to drag and drop the SqlDataAdapter, connection and dataset...
3
by: Rob Thomas | last post by:
Hi, I've been tasked to come up with a new architecture for a large application at one of my customer's sites. In the past, I have developed multi-tier applications whereby the business...
3
by: Chris Dunaway | last post by:
How can a class be shared between a web service and a client that consumes the web service? Suppose I have a Class Libraray with the following simple class: Public Class SimpleClass Private...
0
by: S.Subramanian Iyer | last post by:
Hello Everyone, This is an interesting issue that needs the community's attention and active participation. Lets begin from the top; Microsoft Visual Studio.NET provides excellent and extensive...
1
by: Ilyas | last post by:
Hi all What are the best practises for passing custom objects to and from from services? In particular: 1)Should datasets be passed, or custom objects be passed? 2)When it comes to passing...
1
by: Rain | last post by:
Hi Guys, I know this is off topic, so please bear with me on this. The reporting services newsgroup is not really being used, so I thought I would try this group on the offchance somone might...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: 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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.