Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 56565 invoked from network); 29 Oct 2009 06:58:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 29 Oct 2009 06:58:41 -0000 Received: (qmail 75566 invoked by uid 500); 29 Oct 2009 06:58:39 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 75497 invoked by uid 500); 29 Oct 2009 06:58:39 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 75488 invoked by uid 99); 29 Oct 2009 06:58:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Oct 2009 06:58:39 +0000 X-ASF-Spam-Status: No, hits=-2.8 required=5.0 tests=BAYES_00,MSGID_FROM_MTA_HEADER,RCVD_IN_DNSWL_LOW,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mtmckenna001@mac.com designates 17.148.16.102 as permitted sender) Received: from [17.148.16.102] (HELO asmtpout027.mac.com) (17.148.16.102) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Oct 2009 06:58:36 +0000 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=ISO-8859-1 Received: from spool001.mac.com ([10.150.69.51]) by asmtp027.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTP id <0KS900JKXKP30N80@asmtp027.mac.com> for axis-user@ws.apache.org; Wed, 28 Oct 2009 23:58:15 -0700 (PDT) Received: from webmail023 ([10.13.128.23]) by spool001.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTP id <0KS9003XIKP22E50@spool001.mac.com> for axis-user@ws.apache.org; Wed, 28 Oct 2009 23:58:15 -0700 (PDT) Date: Wed, 28 Oct 2009 23:58:14 -0700 From: Matthew McKenna To: axis-user@ws.apache.org Message-id: <62668467465271030667883952824709886230-Webmail@me.com> Subject: wsdl2java and Two Similar Elements Received: from [193.247.180.4] from webmail.me.com with HTTP; Wed, 28 Oct 2009 23:58:14 -0700 Received: from [ 80.67.84.19] from webmail.me.com with HTTP; Wed, 28 Oct 2009 23:58:14 -0700 X-Originating-IP: 193.247.180.4, 80.67.84.19 Hello- I have a WSDL file that imports several XML schemas. One of those schemas has the following: followed very closely by: In order to generate the appropriate Java code, I am using the following in my build.xml file: The problem I am running in to is that wsdl2java generates a ITEMID.java file, but the class declaration and constructor are ItemId. All references to the ITEMID object in other generated code 'cannot be resolved'. My question - Is there some way I can generate the two item id objects? Thanks very much for any assistance. Matthew McKenna mtmckenna001@mac.com