well you correct, dataset object is not the best data container when you
think about interoperability, but other type of list is OK,
CollectionBase based works great as long as the containing ttype fully
XML serializable, this will translate to something like ArrayOf on the
wire(WSDL).
The better approach is of course to design the XML schema first before
writing a WebMethod(OK you can go all way to write your own WSDL), the
you can use XSD.exe to generate the types from XML schema, check out
WSContractFirst to enable you to this easily
http://www.thinktecture.com/Resource...t/default.html
Regards
Erymuzuan Mustapa
scottrm wrote:
> I am fairly new to web services and want to create a web service method in
> asp.net which will return a fixed size list of values. I am not sure how to
> proceed, I have seen some examples that return for example a dataset from a
> web method but bearing in mind that the client who is accessing the web
> service will not necessarily be using .Net or Microsoft technologies I don't
> believe this would work in this case.