Return-Path: Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 93014 invoked by uid 500); 11 Jun 2003 13:32:59 -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 92999 invoked from network); 11 Jun 2003 13:32:59 -0000 Message-ID: <20030611133300.90940.qmail@web12804.mail.yahoo.com> Date: Wed, 11 Jun 2003 06:33:00 -0700 (PDT) From: Davanum Srinivas Reply-To: dims@yahoo.com Subject: Re: Question on ID/IDREF (or bug 14162) To: axis-dev@ws.apache.org In-Reply-To: <20030610195659.J84764@icarus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Chris, Gregory is using 1.0 Axis. I asked him to try latest cvs/nightly. -- dims --- Chris Haddad wrote: > Gregory - > > i ran your wsdl, and had an element reference error..... Here's the bug in > the WSDL and XSD posted: > > [axis-wsdl2java] java.io.IOException: Element > {http://justicexml.gtri.gatech.edu > /JusticeDataDictionary/2002-11-19-1545}PersonBirthDate is referenced but > not def > ined. > [axis-wsdl2java] at > org.apache.axis.wsdl.symbolTable.SymbolTable.checkFor > > > > If you look in org.apache.axis.types, all the types referenced in bug > 14162 actually do exist. the bug was just not updated to reflect the > addition to the codebase. Also, a basic test for ID exists in > tests/types. > > The bug probably can be closed because a Round5 test exists at > test\wsdl\interop5\basetype\build.xml > > > > > /Chris > > > > On Tue, 10 Jun 2003, Gregory wrote: > > > > > My wsdl file imports xsd so I am sending both files inside of attached zip > > file. The idea was to use echo sample wsdl file, but instead of using > > provided array structure, create array of just:PersonType[]. When running > > wsdl2java, I get: > > > > generate-java: > > [echo] Running WSDL2Java... > > [mkdir] Created dir: /home/gregory/WebServices/axis-dev/bug14162/test > > [copy] Copying 2 files to /home/gregory/WebServices/axis-dev/bug14162/test > > [java] java.io.IOException: The XML Schema type 'ID' is not currently supported. > > [java] at > org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(SymbolTable.java:478) > > [java] at org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:384) > > [java] at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:371) > > [java] at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:358) > > [java] at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:243) > > [java] at java.lang.Thread.run(Thread.java:479) > > > > BUILD FAILED > > > > XSD file is just a fraction of 1.2 Megs size xml schema, but you should > > get the idea. > > > > Gregory > > > > > > > > On Tue, 10 Jun 2003, Davanum Srinivas wrote: > > > Gregory, > > > > > > Can you please post your WSDL? > > > > > > -- dims > > > > > > --- Gregory wrote: > > > > > > > > > > > > Hello, > > > > > > > > I am trying to find our if there are any work-around that I can use to > > > > still be able to use XML Schema with ID and IDREF defined in it, which are > > > > part of my WSDL files. Do I have to change my XML Schema by removing all > > > > references to unsupported XML Schema types (ID, IDREF, NMTOKENS, ENTITIES, > > > > etc.), or can I tell Axis to skip or ignore them somehow? Right now I am > > > > getting error when Axis finds them during parsing of my WSDL files. > > > > > > > > Also, is there any information on why target milestone for this is set to > > > > "post-1.1"? Does it mean that you plan on releasing "1.1 final", and only > > > > after that fixing this bug? Any estimates on when you think this will be > > > > supported? I hope this will help me decide if I should change my XML > > > > Schemas by removing unsupporting types, or if I can expect to have needed > > > > support in Axis in some near future. > > > > > > > > Thank you for your help and a great product! > > > > > > > > Gregory > > > > > > > > > > > > > > > > > > > > > > > > > ===== > > > Davanum Srinivas - http://webservices.apache.org/~dims/ > > > > > > __________________________________ > > > Do you Yahoo!? > > > Yahoo! Calendar - Free online calendar with sync to Outlook(TM). > > > http://calendar.yahoo.com > > > > > ===== Davanum Srinivas - http://webservices.apache.org/~dims/ __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com