rich type

F

Francois Malgreve

Hi all,

I would like to know what kind of rich type (i mean complex type) a
webservice can return.
I have seen some example showing that a webservice can return a DataSet
(does it just call DataSet.GetXml()?).
How can I know is one type or an other type will be supported by webservice?
Can a webservice also return a DataTable or a DataView? In fact I would like
that my webservice return a dataview but i am not sure of how to do so. It
seems difficult to know what type are supported by webservice and also what
is the serialization mechanism used by webservice

Tx in advance

Francois
 
C

Chad Z. Hower aka Kudzu

Francois Malgreve said:
I have seen some example showing that a webservice can return a DataSet
(does it just call DataSet.GetXml()?).
Essentially.

How can I know is one type or an other type will be supported by

You can add support for any type.
webservice? Can a webservice also return a DataTable or a DataView? In

No, not in 1.1. In 2.0 IIRC a DataTable can be returned.
fact I would like that my webservice return a dataview but i am not sure
of how to do so. It seems difficult to know what type are supported by

A dataview doesnt really contain any data. Why not just fill into another
Dataset and return then?
webservice and also what is the serialization mechanism used by
webservice

This is all listed in MSDN quite plainly.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,997
Messages
2,570,241
Members
46,830
Latest member
HeleneMull

Latest Threads

Top