System.Web.Services.Protocols.SoapException: The server could not process the request. ---> System.InvalidOperationException: An error occurred while generating the XML document. ---> System.InvalidOperationException: Type ProfileChulbul was not expected. Use the XmlInclude or SoapInclude attribute to indicate types that are not known statically. in System.Xml.Serialization.XmlSerializationWriter.WriteTypedPrimitive (String name, String ns, Object o, Boolean xsiType) in Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterProfileDefinitionExportHolder.Write1_Object (String nleable String, null String )
If you see that "ProfileChulbul" is an object, I'm trying to serialize
Any idea why so?
Thanx
source share