Serialized object? - 06-22-2006 , 01:34 PM
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
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.
RE: Serialized object? - 07-08-2006 , 02:33 PM
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.
|Thread Tools||Search this Thread|