axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Haddad <hadd...@apache.org>
Subject Re: Question on ID/IDREF (or bug 14162)
Date Wed, 11 Jun 2003 03:04:39 GMT
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 <gl34@casbah.gatech.edu> 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
> >
>

Mime
View raw message