Web Service Wizard Enablement and Widget Interaction

Check that the web service widgets are properly enabled based on settings of other widgets in the UI.

Instructions:

Service Implementation

  1. Start WTP.
  2. Create a dynamic web project called buProject with an Apache Tomcat target server. File > New > Web > Dynamic Web Project.
  3. Import wtp.Converter to the src folder of buProject. Converter.zip
  4. Open up the project and its src folder to show the Converter.java file.
  5. Right click on the source file and choose Web Services > Create Web Service to open the web services wizard.
  6. On the first page of the web service wizard, the Web service type combo should be set to Bottom up Java bean web service.
  7. Click the Browse... button beside the Service Implementation text field.
  8. The Browse Classes dialog should appear. Click Cancel to dismiss the dialog.
  9. Change the Web service type combo to Top down Java bean Web Service.
  10. Click the Browse... button beside the Service Implementation text field.
  11. The Select Service Implementation dialog should appear.
  12. Move the Service slider to Develop and see that the Client slider moves to No Client generation.
  13. The Publish the Web service and Monitor the Web service checkboxes should appear as disabled at the bottom of the wizard page.
  14. Click OK to generate the web service and dismiss the wizard.

Service and Client Sliders - Service Wizard

  1. On the first page of the web service wizard, make sure that the Service slider will not go below the Develop setting.
  2. Set the Service slider to Develop. Make sure that the Client slider is disabled and the Client Configuration section has no links visible.
  3. Slide the Service slider up. As you slide it, make sure that the tooltip text changes to show the settings: Develop, Assemble, Deploy, Install, Start and Test. Also look at the graphic and make sure that it changes to match the slider setting.
  4. Check the tooltips on the service side scenario graphic and Configuration links.
  5. Once the Service slider gets to the Start setting check to see that the Client slider becomes enabled. Note that the Configuration links will not show until you move the Client slider to some level of generation (Develop at minimum).
  6. Move the client slider up and check the Configuration links show up after the slider reaches the Develop setting. Check the tooltips on the slider change and that the graphic changes accordingly.
  7. Check the tooltips on the client side scenario graphic and Configuration links.

Client Slider - Client Only Wizard

  1. Expand the buProject, WebContent and wsdl folders and look for the Converter.wsdl generated earlier for the service in the buProject.
  2. Right click on the WSDL file and choose Web Services > Generate Client to open the Web Service Client wizard.
  3. Make sure that the Client slider does not move below the Develop setting.