Bug 150540 - Pre-select wsil causes "Invalid selection" error
Summary: Pre-select wsil causes "Invalid selection" error
Status: NEW
Alias: None
Product: WTP Webservices
Classification: WebTools
Component: jst.ws (show other bugs)
Version: 1.5   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Eric Peters CLA
QA Contact: Kathy Chan CLA
URL:
Whiteboard:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2006-07-13 13:40 EDT by Kelvin Cheung CLA
Modified: 2007-11-05 16:10 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kelvin Cheung CLA 2006-07-13 13:40:06 EDT
This could be an usability issue.  If a wsil is pre-selected, the WTP Web service wizard flags error "The service definition selected is invalid" because the selected file is not a wsdl, we have to use the browse button and explicitly select the first wsdl under the wsil file.  For such a case, should the wizard try to default to the wsdl in the wsil file (since we only have one wsdl in the wsil file)?
Comment 1 Chris Brealey CLA 2006-07-13 14:45:46 EDT
I agree we have a usability problem here, but I do not think we should quietly pick the first WSDL in a WSIL, since we have only a 1/n chance of selecting the "right" one. The wizard needs to more elegantly guide the user towards browsing thru and selecting a service/port from an initially selected WSIL.

We can improve on this within, and outside of, the wizard.

Within: Since this issue is unique to having an initial selection (otherwise page one's "browse" button and resulting dialog should suffice), the wizard could perhaps begin with a WSIL/WSDL selection page before the current page one appears.

Outside: A complementary approach to the above would be to have the Project Explorer view include a branch under "Web Services" called "Referenced Services" containing WSIL documents as children and WSDL documents as grandchildren. This might help guide users away from selection raw WSIL documents in the first place.

Thinking aloud here. More ideas welcome. Also, this is a post WTP 1.5.x requirement.