Web Service Scenario Preferences
Set preferences in the Web Services - Scenario Defaults and Resource Management preferences pages
and ensure that they are reflected in the wizard.
Instructions:
- Start WTP.
- Create a dynamic web project called buProject with an Apache Tomcat target server.
File > New > Web > Dynamic Web Project.
- Import wtp.Converter to the src folder of buProject.
Converter.zip
- Open the preferences dialog: Window > Preferences and go to the
Web Services > Scenario Defaults page.
- Note the default settings.
- Modify the setting for the Web service type combo.
- Modify the slider settings for Service and Client sections.
- Change the settings for the Publish the web service and Monitor the web service check boxes.
- Click the Apply button.
- Select the Restore Defaults button. Ensure that all
preferences return to the original settings.
- Modify the settings as in the previous steps.
- Click the Apply button.
- Note the new preference settings you have made.
- Select OK to exit the Preferences dialog.
- Open the Web Services wizard using File > New > Web Services > Web Service.
- On the first page of the web services wizard ensure that the settings appear as you set them on the
preferences page.
- Click Cancel to exit the web services wizard.
- Open the preferences dialog again using Window > Preferences and go to the
Web Services > Resource Management page.
- Check the Overwrite files without warning checkbox, click OK to exit the Preferences dialog.
- Open the Web Services wizard using File > New > Web Services > Web Service.
- On the first page of the wizard, make sure the Overwrite files without warning checkbox now appears
in checked state on the first page of the wizard.