I was glad to see another way to deserialize, thanks for that, but I get the same exception as before.
-----Original Message----- From: SHEATHER,Kristoffer [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 16, 2004 7:37 PM To: [EMAIL PROTECTED] Subject: Re: [ADVANCED-DOTNET] Web Service Deserialization Problem Try this: ... using System.IO; ... TextReader reader = null; XmlSerializer serializer = null; AFRSServiceWS.AFRSSubmission Submission = null; try { serializer = new XmlSerializer(typeof(AFRSServiceWS.SubmissionObj)); reader = new StringReader(txtSubmission.Text.Trim()); submission = (AFRSServiceWS.AFRSSubmission) serializer.Deserialize(reader); } finally { reader.Close(); } ... I believe you may be experiencing an encoding issue, mind you I might be completely incorrect :) Regards, Kristoffer Sheather. =================================== This list is hosted by DevelopMentor(r) http://www.develop.com Some .NET courses you may be interested in: NEW! Guerrilla ASP.NET, 17 May 2004, in Los Angeles http://www.develop.com/courses/gaspdotnetls View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentorŪ http://www.develop.com Some .NET courses you may be interested in: NEW! Guerrilla ASP.NET, 17 May 2004, in Los Angeles http://www.develop.com/courses/gaspdotnetls View archives and manage your subscription(s) at http://discuss.develop.com