Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 333354

Summary: 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)!
Product: [WebTools] WTP Webservices Reporter: San <sansu>
Component: jst.wsAssignee: jst.ws <jst.ws-inbox>
Status: NEW --- QA Contact: Keith Chong <keith.chong.ca>
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Screen capture 1
none
Screen capture 2
none
Exception log none

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