Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best way to pass a table of data
Message
 
To
07/12/2004 15:31:13
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
ASP.NET
Category:
Web Services
Miscellaneous
Thread ID:
00967555
Message ID:
00967592
Views:
15
Bonnie is right.

Don't return .NET objects (like DataSets) from a webmethod. Instead, return XML. There is a difference in the way they are serialized (Diffgram vs. XML string). Besides, what if the client is not .NET? Would it know what to do with a diffgram? Newer version of foxpro know how to handle it but many platforms don't.

Returning Datasets or custom .NET objects is fine for remoting if you are sure the client is .NET.


>Bonnie,
>What's the difference? Passing a dataset you're already passing an XML,no?
>Cetin
>
>>Stephen,
>>
>>I don't recommend passing a DataSet to or from a WebService. Use an XML string instead. It's easy enough to serialize/deserialize a DataSet to/from XML.
>>
>>~~Bonnie
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform