This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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 ?
 
Don't get me started about those stupid light bulbs.
 
subject: WSDL2Java throwing IOException
 
Similar Threads
Java Integer Object in Axis - WSDL
is there any alternative for ArrayList object in web services
No 'message' attribute in <input> for operation ...
Binding operation has no corresponding portType operation:
WSDL2Java Error