|Testing Web services Preference Pages|
Testing Web services Preference Pages
Ensure that the following preference page functions properly.
|Internet Preference Page|
The Internet preferences page found under Window -> Preferences -> Internet lets you configure regular and basic-authenticating firewall proxies for any plugin in Eclipse that opens HTTP connections to the outside world. Because of the proliferation of WSDL documents, Schema, Web services, UDDI registries and similar resources on the internet, the Web services tools are frequently called upon to load resources from the internet. For users running on the protected side of a firewall, the Internet preferences page is essential. The settings made on this page apply to all plugins running in the Eclipse JRE, not just to the Web service plugins.
|Web services Preference Pages|
|Window -> Preferences -> Web Services|
|Popup Dialog Selection|
The Popup Dialog Selection page lets you enable or disable the wizards associated with specific Web service popup actions. Most of the Web services popup (or context menu) actions are equipped with wizards which are visually enabled by default. Each of these wizards has a checkbox entitled "Do not show me this dialog box again." If you select this, then Finish the wizard, the next time you run the same popup action the wizard will be disabled, meaning the action will simply run with whatever default values are in effect. You can use the Popup Dialog Selection preferences page to re-enable the wizards for the various popup actions.
|Profile Validation and Conformance|
The Profile validation and conformance page controls the degree to which the tools expect adherence to various WS-I Profiles. It also allows you to specify what types of files wizard WSDL validation should be performed on and whether the wizard should wait for pending WSDL validation to finish when traversing the wizard.
The Project Topology page controls the default J2EE project layout built by the Web service wizards for your Web services and clients. Using this page, you can choose your favourite J2SE or J2EE project type for Web service clients. Note: The Apache Axis runtime extension in the Web Tools Platform currently only supports the Web project client type.
You can also control whether your service and client projects get assembled into the same EAR or into different EARs. Note: It is recommended that you choose different EARs for services and clients. Because of the symmetry of the package-to-namespace and namespace-to-package mappings when generating Web services and Web service clients, it is common for classes of identical qualified names to appear in the service and client projects. If both projects are assembled into the same EAR, J2EE classloaders can end up loading the wrong classes.
The Resource Management page specifies the file overwrite, folder creation, and file checkout policies for the wizards.
The Scenario Defaults page controls the default choices that appear on the first page of the Web Service and Web Service Client wizards.
|Server and Runtime|
The Server and Runtime page lets you choose your favourite server, Web service runtime and J2EE level.
|Test Facility Defaults|
The Test Facility Defaults page lets you customize the preferred order of the available Web service test facilities in the tools. In the WTP, there are two, and in this default order: 1. The Web service sample JSPs and the Web Services Explorer. The wizards will choose the first test facility in the list that is compatible with the scenario. For example, if you run the Web Service wizard with Generate a Proxy deselected and Test the Web service selected on page one, then the wizard will launch the Web Services Explorer. Although the Sample JSP test facility appears first in the list, the wizard will not choose it since the Sample JSPs require a generated Java proxy.