зеркало из https://github.com/mono/mail-archives.git
147 строки
5.7 KiB
HTML
147 строки
5.7 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-bugs] [Bug 488550] New: WSDL tool throws "Key duplication" exception when generating soap proxy for messages with duplicated element names
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20488550%5D%20New%3A%20WSDL%20tool%20throws%20%22Key%20duplication%22%0A%20exception%20when%20generating%20soap%20proxy%20for%20messages%20with%20duplicated%20element%0A%20names&In-Reply-To=">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
|
<LINK REL="Previous" HREF="087316.html">
|
|
<LINK REL="Next" HREF="087318.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-bugs] [Bug 488550] New: WSDL tool throws "Key duplication" exception when generating soap proxy for messages with duplicated element names</H1>
|
|
<B>bugzilla_noreply at novell.com</B>
|
|
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20488550%5D%20New%3A%20WSDL%20tool%20throws%20%22Key%20duplication%22%0A%20exception%20when%20generating%20soap%20proxy%20for%20messages%20with%20duplicated%20element%0A%20names&In-Reply-To="
|
|
TITLE="[Mono-bugs] [Bug 488550] New: WSDL tool throws "Key duplication" exception when generating soap proxy for messages with duplicated element names">bugzilla_noreply at novell.com
|
|
</A><BR>
|
|
<I>Wed Mar 25 01:38:03 EDT 2009</I>
|
|
<P><UL>
|
|
<LI>Previous message: <A HREF="087316.html">[Mono-bugs] [Bug 399048] "_wapi_connect: error looking up socket handle" when running multithreaded HttpWebRequests
|
|
</A></li>
|
|
<LI>Next message: <A HREF="087318.html">[Mono-bugs] [Bug 488550] WSDL tool throws "Key duplication" exception when generating soap proxy for messages with duplicated element names
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#87317">[ date ]</a>
|
|
<a href="thread.html#87317">[ thread ]</a>
|
|
<a href="subject.html#87317">[ subject ]</a>
|
|
<a href="author.html#87317">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE><A HREF="https://bugzilla.novell.com/show_bug.cgi?id=488550">https://bugzilla.novell.com/show_bug.cgi?id=488550</A>
|
|
|
|
|
|
Summary: WSDL tool throws "Key duplication" exception when
|
|
generating soap proxy for messages with duplicated
|
|
element names
|
|
Classification: Mono
|
|
Product: Mono: Tools
|
|
Version: 2.0.x
|
|
Platform: All
|
|
OS/Version: All
|
|
Status: NEW
|
|
Severity: Normal
|
|
Priority: P5 - None
|
|
Component: tools
|
|
AssignedTo: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
|
|
ReportedBy: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">brofieldmono at gmail.com</A>
|
|
QAContact: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
|
|
Found By: ---
|
|
|
|
|
|
Created an attachment (id=281751)
|
|
--> (<A HREF="https://bugzilla.novell.com/attachment.cgi?id=281751">https://bugzilla.novell.com/attachment.cgi?id=281751</A>)
|
|
Sample WSDL that fails
|
|
|
|
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.7)
|
|
Gecko/2009021910 Firefox/3.0.7
|
|
|
|
The wsdl tool in mono will throw an exception when parsing WSDL that has in/out
|
|
elements with the same name. See the attached test.wsdl file for a minimal test
|
|
sample. If the element "noerrorifnothere" is removed then the error doesn't
|
|
occur.
|
|
|
|
|
|
Reproducible: Always
|
|
|
|
Steps to Reproduce:
|
|
Download attached test.wsdl file
|
|
Execute "wsdl /l:CS /protocol:SOAP test.wsdl /out:test.cs"
|
|
Actual Results:
|
|
Web Services Description Language Utility
|
|
Mono Framework v2.0.50727.42
|
|
Error: Key duplication when adding: causeoferror
|
|
Stack:
|
|
at System.Collections.Hashtable.PutImpl (System.Object key, System.Object
|
|
value, Boolean overwrite) [0x00000]
|
|
at System.Collections.Hashtable.Add (System.Object key, System.Object value)
|
|
[0x00000]
|
|
at System.Xml.Serialization.CodeIdentifiers.Add (System.String identifier,
|
|
System.Object value) [0x00000]
|
|
at System.Web.Services.Description.ProtocolImporter.AddAsyncMembers
|
|
(System.String messageName, System.CodeDom.CodeMemberMethod method) [0x00000]
|
|
..
|
|
|
|
Expected Results:
|
|
Just like the Microsoft wsdl utility, correctly parse the WSDL file and
|
|
generate a soap proxy.
|
|
|
|
--
|
|
Configure bugmail: <A HREF="https://bugzilla.novell.com/userprefs.cgi?tab=email">https://bugzilla.novell.com/userprefs.cgi?tab=email</A>
|
|
------- You are receiving this mail because: -------
|
|
You are the QA contact for the bug.
|
|
You are the assignee for the bug.
|
|
</PRE>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI>Previous message: <A HREF="087316.html">[Mono-bugs] [Bug 399048] "_wapi_connect: error looking up socket handle" when running multithreaded HttpWebRequests
|
|
</A></li>
|
|
<LI>Next message: <A HREF="087318.html">[Mono-bugs] [Bug 488550] WSDL tool throws "Key duplication" exception when generating soap proxy for messages with duplicated element names
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#87317">[ date ]</a>
|
|
<a href="thread.html#87317">[ thread ]</a>
|
|
<a href="subject.html#87317">[ subject ]</a>
|
|
<a href="author.html#87317">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
|
|
<hr>
|
|
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
|
|
mailing list</a><br>
|
|
</body></html>
|