[Mono-dev] Bug System.Web.Services

Vladimir Krasnov vladimirk at mainsoft.com
Thu Sep 7 03:50:46 EDT 2006


Hi Lluis, 

The test case is just simple web service with only one web method with parameter of type char, see attached files.
Deploy this web service and get a WSDL. In the WSDL you will get, simpleType char will be declared twice. 
This occures because two different instances of XmlSchemaExporter are writing to common XmlSchema object.

Vladimir Krasnov

-----Original Message-----
From: Lluis Sanchez [mailto:lluis at ximian.com] 
Sent: Wednesday, September 06, 2006 7:23 PM
To: Vladimir Krasnov
Cc: mono-devel-list at lists.ximian.com
Subject: Re: Bug System.Web.Services

Hi!

Well, the patch looks more like a workaround rather than a real fix. Can you provide a test case I can use to see the problem?

Thanks,
Lluis.

El mié, 06-09-2006 a las 09:07 -0700, Vladimir Krasnov escribió:
> Hello Lluis,
> 
> The is a bug in getting wsdl, if web service has a web method with 
> char parameter, it will be declared twice in the wsdl.
> 
> Please look at the attached patch that fixes the problem.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Service1.asmx
Type: application/octet-stream
Size: 89 bytes
Desc: Service1.asmx
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060907/c7e8808d/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Service1.asmx.cs
Type: application/octet-stream
Size: 513 bytes
Desc: Service1.asmx.cs
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060907/c7e8808d/attachment-0001.obj 


More information about the Mono-devel-list mailing list