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