[Mono-list] Serialization and Soap
robertj at gmx.net
Mon Jan 21 11:56:56 EST 2008
Dan Smithers wrote:
> 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?
There is no trick. One difference between Binary and SOAP is
the inability of the latter to store more than one object
graph, i.e. calling Serialize twice per stream will produce
something that cannot be deserialized. This is by design.
> Dan Smithers wrote:
>> Robert Jordan wrote:
>>> Dan Smithers wrote:
>>>> 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
>>> You need to add a reference to
>> Mono-list maillist - Mono-list at lists.ximian.com
> Mono-list maillist - Mono-list at lists.ximian.com
More information about the Mono-list