You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Tom Jordahl <to...@macromedia.com> on 2002/10/04 20:33:06 UTC

RE: WSDL2Java yields java.io.IOException ("WSDL2Java emitter time d out")

 
Turn off the timeout (--timeout -1) and see if it completes processing.
If not, your WSDL might be showing a problem.

-- 
Tom Jordahl 
Macromedia Server Development 

-----Original Message-----
From: Paul MacMillan [mailto:pmacmillan@viewstar.com]
Sent: Friday, October 04, 2002 2:24 PM
To: axis-dev@xml.apache.org
Subject: WSDL2Java yields java.io.IOException ("WSDL2Java emitter timed out")


We tried to run WSDL2Java on our fairly large wsdl (90K).... even in verbose mode, the only response we got (after 30 seconds or so of CPU churning) was this:
 
Parsing XML file:  viewstar.wsdl
java.io.IOException: WSDL2Java emitter timed out (this often means the WSDL at the specified URL is inaccessible)!
        at org.apache.axis.wsdl.gen.Parser.run(Parser.java:223)
        at org.apache.axis.wsdl.toJava.Emitter.run(Emitter.java:379)
        at org.apache.axis.wsdl.gen.WSDL2.run(WSDL2.java:284)
        at org.apache.axis.wsdl.WSDL2Java.main(WSDL2Java.java:297)

The WSDL is in a local file, so the "hint" doesn't apply.
 
Is this WSDL (of size 90K) "too big"? Has anybody succesfully used RC2 on one that big? (We had much better luck with Beta 2)
 
Thanks.