Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 61461 invoked from network); 26 Mar 2004 09:39:37 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 26 Mar 2004 09:39:37 -0000 Received: (qmail 48914 invoked by uid 500); 26 Mar 2004 09:39:09 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 48825 invoked by uid 500); 26 Mar 2004 09:39:08 -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 48797 invoked from network); 26 Mar 2004 09:39:08 -0000 Received: from unknown (HELO exchange.sun.com) (192.18.33.10) by daedalus.apache.org with SMTP; 26 Mar 2004 09:39:08 -0000 Received: (qmail 24998 invoked from network); 26 Mar 2004 09:39:58 -0000 Received: from localhost (HELO nagoya) (127.0.0.1) by nagoya.betaversion.org with SMTP; 26 Mar 2004 09:39:58 -0000 Message-ID: <670058447.1080293998222.JavaMail.apache@nagoya> Date: Fri, 26 Mar 2004 01:39:58 -0800 (PST) From: jira@apache.org To: axis-dev@ws.apache.org Subject: [jira] Commented: (AXIS-1267) WSDL2Java handles duplicate inclusion incorrectly. Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N The following comment has been added to this issue: Author: Davanum Srinivas Created: Fri, 26 Mar 2004 1:39 AM Body: pls attach your wsdl/xsd's --------------------------------------------------------------------- View this comment: http://issues.apache.org/jira/secure/ViewIssue.jspa?key=AXIS-1267&page=comments#action_27825 --------------------------------------------------------------------- View the issue: http://issues.apache.org/jira/secure/ViewIssue.jspa?key=AXIS-1267 Here is an overview of the issue: --------------------------------------------------------------------- Key: AXIS-1267 Summary: WSDL2Java handles duplicate inclusion incorrectly. Type: Bug Status: Unassigned Priority: Critical Project: Axis Components: WSDL processing Versions: 1.1 Assignee: Reporter: Alex Chen Created: Fri, 26 Mar 2004 12:04 AM Updated: Fri, 26 Mar 2004 1:39 AM Environment: Windows XP. JDK 1.4.02 Description: If duplicate inclusions happens in a schema, the binding classes create by WSDL2Java are wrong. For instance, a schema, say, common.xsd which defines an element X that is used as the return type of a RPC call, is inlcuded in flow.xsd and config.xsd. Then master.xsd includes both flow.xsd and config.xsd. All schema are in the same name space. When I feed master.xsd to WSDL2Java, it displays a lot of warning message saying element X has been defined, etc. The generated classes contain something like XType1.java, or X12.java, etc. instead of X.java, yet the SOAP port interface class has a method something like public X getX(). Since no class X is generated, the code fails to compile. --------------------------------------------------------------------- JIRA INFORMATION: 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