[Mono-devel-list] [PATCH] fix for bug 53117
Lluis Sanchez
lluis at ximian.com
Wed Jan 21 06:51:56 EST 2004
Hi!
The patch is not totally correct because only the Fault element should
belong to the soap envelope namespace, but not the fault members. It
will work when consuming a Mono WS, but not when consuming WS from other
platforms. I just commited a patch that fixes this.
Lluis.
On dc, 2004-01-21 at 10:24, Eran Domb wrote:
> Hello,
> Here is a patch for bug 53117.
>
> Index: Methods.cs
> ===================================================================
> RCS file:
> /cvs/public/mcs/class/System.Web.Services/System.Web.Services.Protocols/Methods.cs,v
> retrieving revision 1.26
> diff -u -r1.26 Methods.cs
> --- Methods.cs 19 Jan 2004 20:21:26 -0000 1.26
> +++ Methods.cs 21 Jan 2004 09:00:58 -0000
> @@ -395,7 +395,7 @@
> if (faultSerializerId == -1)
> {
> XmlReflectionImporter ri = new XmlReflectionImporter ();
> - XmlTypeMapping tm = ri.ImportTypeMapping (typeof(Fault));
> + XmlTypeMapping tm = ri.ImportTypeMapping
> (typeof(Fault), WebServiceHelper.SoapEnvelopeNamespace);
> faultSerializerId = RegisterSerializer (tm);
> }
> methods_byaction [res.Action] = res;
>
>
> If no one object I will commit.
> Thanks,
> Eran
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
More information about the Mono-devel-list
mailing list