You can't pass an XmlDocument to and from a web service. You can pass an
XmlNode. Get the root node of your object and pass that to your web service.
Alternatively, you can serialize your object to a string array containing
information to recreate each property on the other side of the wire.
--
Dale Preston
MCAD C#
MCSE, MCDBA
"HockeyFan" wrote:
Quote:
I've gone through the process of serializing an object, using code that I've
seen used by several people on the web. I get an XMLdocument type that
appears to have all the items from my class in it. Once I have this XMLdoc,
how do I pass it to a webservice? I tried but the other end received
"nothing".
Before passing, I looked at the guts of the XMLdocument, and it has an
attribute of "nothing", but it has all the data in the innerxml and the outer. |