[Mono-list] Serialization and Soap

Dan Smithers dsmithers at talktalk.net
Mon Jan 21 11:39:05 EST 2008


OK, I've got SOAP working. I can construct the stream using
SoapFormatter.Serialize, but I can't get Deserialize to reconstruct my
data structure. Is there any trick to this that I haven't spotted?

thanks

dan

Dan Smithers wrote:
> 
> Robert Jordan wrote:
>> Dan Smithers wrote:
>>> Hi,
>>>
>>> I am trying to use serialization into a MemoryStream to construct
>>> messages to pass between processes.
>>>
>>> I have _sort_ of got it working with the BinaryFormatter, but I would
>>> like to send a human readable version for testing.
>>>
>>> Can anyone confirm that the SoapFormatter is implemented in Mono 1.2.6.
>>> Is it just a simple replacement for the BinaryFormatter?
>>>
>>> Currently I get the error
>>> type or namespace 'Soap' does not exist in
>>> 'System.Runtime.Serialization.Formatters'
>>>
>> You need to add a reference to
>>
>> System.Runtime.Serialization.Formatters.Soap.dll
>>
> 
> doh!
> 
> thanks
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 


More information about the Mono-list mailing list