Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 25712 invoked from network); 3 Feb 2005 13:18:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 3 Feb 2005 13:18:30 -0000 Received: (qmail 77805 invoked by uid 500); 3 Feb 2005 13:18:25 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 77779 invoked by uid 500); 3 Feb 2005 13:18:25 -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 77766 invoked by uid 99); 3 Feb 2005 13:18:25 -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; Thu, 03 Feb 2005 05:18:24 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (8.12.11/8.12.11) with ESMTP id j13CRICA024216 for ; Thu, 3 Feb 2005 13:27:19 +0100 Message-ID: <1041955960.1107433638993.JavaMail.jira@ajax.apache.org> Date: Thu, 3 Feb 2005 13:27:18 +0100 (CET) From: "Hans (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Updated: (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-2.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/AXIS-66?page=history ] Hans updated AXIS-66: --------------------- Attachment: SymbolTable.java > [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, diff.txt, list.wsdl > > 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 - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira