wood burning stoves*
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
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 ?
I agree. Here's the link: http://aspose.com/file-tools
subject: WSDL2Java throwing IOException
Similar Threads
Java Integer Object in Axis - WSDL
Binding operation has no corresponding portType operation:
is there any alternative for ArrayList object in web services
No 'message' attribute in <input> for operation ...
WSDL2Java Error