> I have a web method in my web service that I would to have a command
> object passed in as a parameter. But when I compile the service I get
[quoted text clipped - 6 lines]
> web services only allow certain data types to be passed to web
> methods?
Yes, those types must be serializable according to the XmlSerializer classes rules. Specifically this rule is saying that because DataView is an ICollection subtype, in order for the XmlSerializer to be able to add child elements to this collection, DataView needs to support an Add method. Obviously it does not and since you don't own the class there's not really any way to ever add it.
DataSet is really the only System.Data class specifically designed to be aware of serializing itself. That said, you might want to skim the newsgroups for recent discussions about the pitfalls of using them.
HTH,
Drew