Hello
I am having problems with a very simple serialization :(
I download the schema
http://www.3gpp.org/ftp/Specs/archiv.../REL-5-MM7-1-0
and execute the xsd.exe for create the classes.
I load the file created in my project but when I try to serialize...
'-------------------------------------------
Dim reqSubmit As New submitReqType
Dim fs As New MemoryStream
Dim formatter As New SoapFormatter
formatter.Seria lize(fs, reqSubmit)
Console.WriteLi ne(System.Text. Encoding.Defaul t.GetString(fs. ToArray))
fs.Close()
'-------------------------------------------
this error occur...
< Failed to serialize. Reason: The type mm7.submitReqTy pe in Assembly mm7,
Version=1.0.156 5.20175, Culture=neutral , PublicKeyToken= null is not marked
as serializable. >
If that is true, how can I tell to the xsd.exe that mark as Serializable
when he create the clases?
Thanks a lot
AA