Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 311185 - Java code generation happens before finishing the java bean skeleton/web service client wizard
Summary: Java code generation happens before finishing the java bean skeleton/web serv...
Status: RESOLVED INVALID
Alias: None
Product: WTP Webservices
Classification: WebTools
Component: jst.ws (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Keith Chong CLA
QA Contact: Keith Chong CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-30 10:24 EDT by Georgi Hristov CLA
Modified: 2010-05-13 13:23 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Georgi Hristov CLA 2010-04-30 10:24:08 EDT
Build Identifier: 20100211202452

Create an EJB DC and an EAR DC referencing the EJB DC. In the EJB DC,   
create a folder in it called wsdl. Add the WSDL file attached to this   
CSN. Right-click on the WSDL, choose Web Services > Generate Java bean  
skeleton.                                                               
                                                                        
In the wizard, choose the Develop option. Click Next. Leave the         
defaults. Click Next. Leave the defaults. Click Next. Leave the         
defaults. Click Next.                                                   
                                                                        
Now, even though you didn't press finish yet, the generation happens.   
This must not happen. A wizard should not perform any work unless a user
presses Finish.                                                         


Reproducible: Always

Steps to Reproduce:
1. Right-click on the WSDL, choose Web Services > Generate Java bean skeleton
2. In the wizard, choose the Develop option. 
3. Click Next. 
4. Leave the defaults. 
5. Click Next. 
6. Reach the last page of the wizard.
7. On the last page you may see that the java code is already generated without pressing the 'Finish' button
Comment 1 Keith Chong CLA 2010-05-13 13:23:11 EDT
Hi Georgi,

Unfortunately, this is as-designed and a limitation.  With the web services wizard and command framework, when you click Next, commands will be executed.  If you click Back, it will not undo the commands either.

See:

http://www.eclipse.org/webtools/jst/components/ws/designs/89083.html