Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 83730 invoked from network); 21 Apr 2005 03:20:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Apr 2005 03:20:39 -0000 Received: (qmail 47583 invoked by uid 500); 21 Apr 2005 03:20:37 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 47561 invoked by uid 500); 21 Apr 2005 03:20:37 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 47543 invoked by uid 99); 21 Apr 2005 03:20:37 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 20 Apr 2005 20:20:36 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 10F413E2 for ; Thu, 21 Apr 2005 04:59:32 +0200 (CEST) Message-ID: <492294343.1114052372068.JavaMail.jira@ajax.apache.org> Date: Thu, 21 Apr 2005 04:59:32 +0200 (CEST) From: "Davanum Srinivas (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Resolved: (AXIS-66) [xsd:list] WSDL2Java doesn't handle schema enumerations Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/AXIS-66?page=all ] Davanum Srinivas resolved AXIS-66: ---------------------------------- Resolution: Fixed Looks like the patch has already been applied (http://marc.theaimsgroup.com/?l=axis-dev&m=110992583613868&w=2) thanks, dims > [xsd:list] WSDL2Java doesn't handle schema enumerations > -------------------------------------------------------------- > > Key: AXIS-66 > URL: http://issues.apache.org/jira/browse/AXIS-66 > Project: Axis > Type: Bug > Components: Basic Architecture > Versions: beta-1 > Environment: Operating System: Other > Platform: All > Reporter: Kevin Dente > Assignee: Dominik Kacprzak > Attachments: SchemaUtils.java, SymbolTable.java, Utils.java, cc-out.txt, diff.txt, list.wsdl, patch-axis-66.zip, patch_nightlybuild_feb10.zip > > Microsoft's .Net WSDL supports the notion of a bitmask enumeration, where > multiple enum values can be logically OR'd together (a very useful feature). In > C# this is generated using the Flags attribute on an enumerated type. The WSDL > that it spits out when you do this looks like: > > > > > > > > > > > > WSDL2Java doesn't handle this - it throws an exception when it encounters this > WSDL. The exception is: > java.io.IOException: http://tempuri.org/:MyFlags already exists at > org.apache.axis.wsdl.toJava.SymbolTable.symbolTablePut(Unknown Source) > at > org.apache.axis.wsdl.toJava.SymbolTable.createTypeFromDef(Unknown Source) > at org.apache.axis.wsdl.toJava.SymbolTable.addTypes(Unknown Source) > at org.apache.axis.wsdl.toJava.SymbolTable.addTypes(Unknown Source) > at org.apache.axis.wsdl.toJava.SymbolTable.addTypes(Unknown Source) > at org.apache.axis.wsdl.toJava.SymbolTable.addTypes(Unknown Source) > at org.apache.axis.wsdl.toJava.SymbolTable.addTypes(Unknown Source) > at org.apache.axis.wsdl.toJava.SymbolTable.addTypes(Unknown Source) > at org.apache.axis.wsdl.toJava.SymbolTable.addTypes(Unknown Source) > at org.apache.axis.wsdl.toJava.SymbolTable.populateTypes(Unknown > Source) > at org.apache.axis.wsdl.toJava.SymbolTable.populate(Unknown Source) > at org.apache.axis.wsdl.toJava.SymbolTable.add(Unknown Source) > at org.apache.axis.wsdl.toJava.Emitter.emit(Unknown Source) > at org.apache.axis.wsdl.toJava.Emitter.emit(Unknown Source) > at org.apache.axis.wsdl.WSDL2Java$WSDLRunnable.run(Unknown Source) > at java.lang.Thread.run(Thread.java:484) > This seems like something that should really be supported. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira