Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 333354 - IWAB0399E Error in generating Java from WSDL: java.io.IOException: WSDL2Java emitter timed out (this often means the WSDL at the specified URL is inaccessible)!
Summary: IWAB0399E Error in generating Java from WSDL: java.io.IOException: WSDL2Java...
Status: NEW
Alias: None
Product: WTP Webservices
Classification: WebTools
Component: jst.ws (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: jst.ws CLA
QA Contact: Keith Chong CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-30 17:19 EST by San CLA
Modified: 2010-12-30 17:21 EST (History)
0 users

See Also:


Attachments
Screen capture 1 (61.69 KB, image/gif)
2010-12-30 17:21 EST, San CLA
no flags Details
Screen capture 2 (79.46 KB, image/gif)
2010-12-30 17:21 EST, San CLA
no flags Details
Exception log (5.12 KB, text/plain)
2010-12-30 17:21 EST, San CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description San CLA 2010-12-30 17:19:40 EST
Build Identifier: M20100909-0800

We extend the base Web service wizard to implement our own specific Web service type
call "Bottom up IBM i Program Web Service". I am getting this IWAB0399E error (see attached files)
intermittently. I attached 2 screen captures pic1.gif and pic2.gif. Pic1.gif shows
the initial state of the wizard. Pic2.gif shows the error when I press the Finish button (exception_details.txt has the complete log of the error). 
This only happens intermittently and it seems to happen more often with tomcat 5.5 server. 

Under the cover, we generate a set of Java beans when the user press Next/Finish to navigate 
away from the first wizard page. These Java beans are then used to create the Web service. 
I have checked and the Java beans are generated correctly.
I have tried disabling the Axis emitter timeout preference to -1 and it does not make a difference. 
After the IWAB0399E error dialog shows, I can just close the dialog and continue with the
creation of the Web service without any problems. I suspect, that the wsdl file is not created
in time for the WSDL2Java emitter to use. 


Reproducible: Sometimes

Steps to Reproduce:
1. In preferences, set the default server runtime to be "Tomcat 5.5 server", and Web service runtime to be "Apache Axis".
2. In remote system explorer, create a connection of an IBM i system, making sure to save your login info.
3. Right-click of RPG source in remote system explorer and selection menu item
   to create web service. The Web service wizard should launch.
3. Click Finish and you should see the error. May have to do it a number of times to actually see the error since it is intermittent.
Comment 1 San CLA 2010-12-30 17:21:02 EST
Created attachment 185917 [details]
Screen capture 1
Comment 2 San CLA 2010-12-30 17:21:30 EST
Created attachment 185918 [details]
Screen capture 2
Comment 3 San CLA 2010-12-30 17:21:48 EST
Created attachment 185919 [details]
Exception log