Serialization Error
Old forum URL: forums.lhotka.net/forums/t/6928.aspx
gidzone posted on Monday, May 11, 2009
Has anyone ever recielved the following error when calling .Save()?
Type 'System.Web.Services.Protocols.SoapHeader' in Assembly 'System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' is not marked as serializable.
I am using 3.6.2.
thanks!
-sanjayajj3085 replied on Monday, May 11, 2009
It sounds like you're trying to have a System.Web.Services.Protocols.SoapHeader cross a DataPortal call. You won't be able to make that happen, so you'll have to find another way to get the SoapHeader data across the wire.gidzone replied on Monday, May 11, 2009
I ended up storing the data as a string. Then I just build the session header on the fly each time.
thanks!
-sanjayCopyright (c) Marimer LLC