I'm confused. In a regular .net library app, I can generate a set of .net classes from a schema using xsd.exe /c. I can then generate/deserialize to a fully populated object based on the submitted xml doc string using:
XmlSerializer serializerIn = new XmlSerializer(typeof (Esylvan.EnterpriseLibrary.Types.ElmsEnrollment.ElmsResponse)); System.IO.StringReader reader = new System.IO.StringReader (_xmlResponseDocument.OuterXml); <-- xml doc string _enrollmentResponse = (Esylvan.EnterpriseLibrary.Types.ElmsEnrollment.ElmsResponse) serializerIn.Deserialize(reader); However, if attempt basically the same deserialization process using a wsdl generated proxy for that type deserialization "works" but the process does not create any objects internal to the outer container as it does when I deserialize directly from the xsd generated classes. Why? I took a look at the xmlSerialization attributes and many (but not all) between the proxy and the xsd generated classes are the same. =================================== This list is hosted by DevelopMentor� http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com
