Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 351799 - Cannot change the Web Service Runtime in Web Service wizard
Summary: Cannot change the Web Service Runtime in Web Service wizard
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: 2011-07-12 04:05 EDT by Tilak Sharma CLA
Modified: 2011-07-12 04:05 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 Tilak Sharma CLA 2011-07-12 04:05:36 EDT
Build Identifier: I20100608-0911

Ok button in the RuntimeServerSelectionDialog gets disabled when we change the Web Service Runtime.

I debugged the code and the issue is in the method org.eclipse.jst.ws.internal.consumption.ui.wizard.RuntimeServerSelectionDialog.validateServerRuntimeSelection():381.

Here the Ok button is being disabled for INFO status as well:
if (status.getSeverity() == Status.INFO) {
			setMessage(message, IMessageProvider.INFORMATION);
			getButton(IDialogConstants.OK_ID).setEnabled(false);
		}
Instead it should be :
getButton(IDialogConstants.OK_ID).setEnabled(true);


Reproducible: Always

Steps to Reproduce:
1. Create a WSDL inside a project
2. Now select the "Generate Java Bean Skeleton" option under Web Services group
or launch the Web Service wizard.
3. Observe that "Top Down Java Bean Web Service" is selected as the Web Service
Type
4. Now select the "Web Service Runtime" hyperlink
5. A dialog with title "Service Deployment Configuration" pops up, where you can change the Web Service runtime among the provided options.
6. Upon selecting/changing the Web Service runtime, the Ok Button gets disabled.