File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "WSDL2Java throwing IOException" Watch "WSDL2Java throwing IOException" New topic
Author

WSDL2Java throwing IOException

shonvon ton
Greenhorn

Joined: Aug 07, 2008
Posts: 6
Hi,
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
Greenhorn

Joined: Jun 26, 2009
Posts: 4
Is the wsdl itself valid?
Can you post it ?
xsds you reference are available too ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WSDL2Java throwing IOException