jQuery in Action, 3rd edition
The moose likes Web Services and the fly likes WSDL2Java throwing IOException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "WSDL2Java throwing IOException" Watch "WSDL2Java throwing IOException" New topic

WSDL2Java throwing IOException

shonvon ton

Joined: Aug 07, 2008
Posts: 6
I am trying to gennerate stub classes using axis. and when i run the WSDL2Java, i am getting the following error:

java.io.IOException: Type {http://impl.common.xyz.com}UserData is referenced but not defined.
at org.apache.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(SymbolTable.java:665)
at org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:545)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:518)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:495)
at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
at java.lang.Thread.run(Thread.java:568)

Any help will be appreciated.
Eric Elzinga

Joined: Jun 26, 2009
Posts: 4
Is the wsdl itself valid?
Can you post it ?
xsds you reference are available too ?
jQuery in Action, 3rd edition
subject: WSDL2Java throwing IOException
It's not a secret anymore!