Great, thanks Morten...
Trying to get this going, but a couple things:
1) Graphic.Attributes: I dont think i need this even, but one it wont serialize and two it is read only so I can't set it after it is saved. but as i said, I dont think I need this anyway...
2) Geometry wont serialize either, throws:
System.InvalidOperationException: There was an error generating the XML document. --->
System.InvalidOperationException: The type ESRI.ArcGIS.Client.Geometry.Polyline was not expected. Use the XmlInclude attribute to specify types that are not known statically.
Didn't try with a DataContractSerializer, should I? I prefer the Xml if possible...
*EDIT* DataContractSerializer DOES work!!! hmmm... breaks a few other things I am serializing with the Xml though, have to see how to fix those. Also, the Attributes work too, still not sure how to set them back though