Francesco Geri

Il blog di Francesco Geri
posts - 94, comments - 165, trackbacks - 2

lunedì 17 marzo 2008

Deserializzazione di un oggetto complesso passato come parametro in un WebMethod

Se in un WebMethod si passa come parametro un oggetto complesso si può ottenere un errore del tipo: System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.InvalidOperationException: There was an error generating the XML document. ---> System.InvalidOperationException: A circular reference was detected while serializing an object of type MyObjectType. at System.Xml.Serialization.XmlSerializationWriter.Writ

posted @ lunedì 1 gennaio 0001 00:00 | Feedback (3) | Filed Under [ Tips .Net XML ]

Powered by:
Powered By Subtext Powered By ASP.NET