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 <[EMAIL PROTECTED]> 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
>
bug14162.zip
Description: Zip archive
