[Mono-devel-list] [PATCH] small bug in System.Web.Services/System.Web.Services.Description/ProtocolReflector.cs
Lluis Sanchez
lluis at ximian.com
Mon Jan 12 18:29:50 EST 2004
Patch applied. Thanks!
On dl, 2004-01-12 at 16:25, Yaacov Akiba Slama wrote:
> Hello,
>
> In
> System.Web.Services/System.Web.Services.Description/ProtocolReflector.cs,
> in the case a new ServiceDescription is created, the name of the
> BindingInfo is not copied into the new ServiceDescriptor.
>
> The consequence is that the "name" attribute of the "definitions"
> element of the new xml description is empty and Visual Studio cannot use
> the web service (Add new Web Reference fails).
>
> Thanks,
> Yaacov Akiba Slama
>
> ______________________________________________________________________
> --- mcs/class/System.Web.Services/System.Web.Services.Description/ProtocolReflector.cs.orig 2004-01-12 17:05:00.000000000 +0200
> +++ mcs/class/System.Web.Services/System.Web.Services.Description/ProtocolReflector.cs 2004-01-12 17:05:07.000000000 +0200
> @@ -234,6 +234,7 @@
> {
> ServiceDescription newDesc = new ServiceDescription();
> newDesc.TargetNamespace = binfo.Namespace;
> + newDesc.Name = binfo.Name;
> int id = ServiceDescriptions.Add (newDesc);
> AddImport (desc, binfo.Namespace, GetWsdlUrl (url,id));
> ImportBindingContent (newDesc, typeInfo, url, binfo);
More information about the Mono-devel-list
mailing list