Web Service Scenario Initial Selection

Select a workspace resource and launch the Web Services wizard. In the wizard, check to make sure that the initial selection is correct and the related settings are properly defaulted.

Instructions:

  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, make sure that the Web service type combo is set to Bottom up Java bean web service.
  7. Check to make sure that the wtp.Converter class is shown in the Service implementation field.
  8. Look at the Configuration links for the service.
  9. The Server link should show the Tomcat target server that you set for the buProject dynamic web project. Click on the link and see that the Service Deployment Configuration dialog launches.
  10. The Web service runtime link should show Apache Axis Click on the link and see that the Service Deployment Configuration dialog launches.
  11. The Service project link should read buProject. Click on the link and check to make sure that the same name shows up in the Specify Service Project Settings dialog. Click OK to exit the dialog.
  12. Move the Service slider to Start so that the Client side is enabled.
  13. Move the Client slider to Develop so that the Configuration links for the Client side become visible.
  14. Check the Server and Web service runtime links for the client and make sure that the match those for the Service as a default.
  15. Check the Client project link to see that the defaulted name is buProjectClient