I am building a web service that will inneract with a middle tier data class that will talk with databases from behind a firewall.
Question 1: If I am farming the data tier do I need to set up the web service to use remoting to talk with the data tier? I ask this question because I am thoughly confused with serialization. I had originally set the web service to pass the remoted data tier an XmlDocument that contained everything about the query. When I try to pass the document I get this error An unhandled exception of type 'System.Runtime.Serialization.SerializationException' occurred in mscorlib.dll Additional information: The type System.Xml.XmlDocument in Assembly System.Xml, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 is not marked as serializable. I though XmlDocuments were serializable by default, but I am not sure. I have found all kinds of documentation about serializing class objects to an XmlDocument. So I assume an XmlDocument is serializable by default. So do I need to remote the data tier or not? and if so How do I serailize an XmlDocument? Thanks JJ [EMAIL PROTECTED] You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.