[Mono-devel-list] SoapHeaderException when invoking Web Service

Lluis Sanchez lluis at ximian.com
Tue Jan 18 08:51:39 EST 2005

On dt, 2005-01-18 at 14:10 +0100, Neumann Péter wrote:
> Hi,
>   Well, the problem is solved.
>   This strange behaviour, I mean the SoapHeaderException, was caused
>   by the Deserialize() method of the XmlSerializer class. I use this
>   method in the ws to Deserialize an ArrayList which was Serialized
>   before on the client. In .Net if the ArrayList was empty then the
>   deserialized object will be an empty ArrayList as well. In Mono (for
>   some reason) if the ArrayList was empty then the Deserialize method
>   will return a null reference. 

This looks like a bug in the serializer. It would be awesome if you can
file a bug report in Bugzilla (bugzilla.ximian.com) for this with a
small test case.


More information about the Mono-devel-list mailing list