<html><head><META http-equiv="Content-Type" content="text/html; charset=UTF-8"><link type="text/css" href="../../../../..//default_style.css" rel="stylesheet"><link type="text/css" href="../../../../..//webtools/wtp.css" rel="stylesheet"><title>Testing Web services Preference Pages</title></head><body><table border="0" cellpadding="2" cellspacing="5" width="100%"><tbody><tr><td align="left" width="60%"><font class="indextop">Testing Web services Preference Pages</font><br><font class="indexsub">Testing Web services Preference Pages</font></td><td width="40%"><img src="../../../../..//webtools/images/wtplogosmall.jpg" align="middle" height="129" hspace="50" width="207" alt="WTP Logo" usemap="logomap"><map id="logomap" name="logomap"><area coords="0,0,207,129" href="/webtools/" alt="WTP Home"></map></td></tr></tbody></table><table border="0" cellpadding="2" cellspacing="5" width="100%"><col width="16"><col width="*"><tbody><tr><td align="right" valign="top"> | |
| |
</td><td valign="top"><p>Ensure that the following preference page functions properly.</p></td></tr><tr><td colspan="2" align="left" bgcolor="#0080c0" valign="top"><b><font color="#ffffff" face="Arial,Helvetica">Internet Preference Page</font></b></td></tr><tr><td align="right" valign="top"> | |
| |
</td><td valign="top"><p> | |
The | |
<b>Internet</b> | |
preferences page found under | |
<b>Window -> Preferences -> Internet</b> | |
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. | |
</p></td></tr><tr><td align="right" valign="top"> | |
| |
</td><td valign="top"><blockquote> | |
<img SRC="resource/prefs/internet.JPG" border="0"> | |
</blockquote></td></tr><tr><td colspan="2" align="left" bgcolor="#0080c0" valign="top"><b><font color="#ffffff" face="Arial,Helvetica">Web services Preference Pages</font></b></td></tr><tr><td align="right" valign="top"> | |
| |
</td><td valign="top"><b>Window -> Preferences -> Web Services</b></td></tr><tr><td align="right" valign="top"><img src="../../../../..//images/Adarrow.gif" border="0" height="16" width="16"></td><td>Popup Dialog Selection</td></tr><tr><td align="right" valign="top"> | |
| |
</td><td valign="top"><p> | |
The | |
<b>Popup Dialog Selection</b> | |
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. | |
</p></td></tr><tr><td align="right" valign="top"> | |
| |
</td><td valign="top"><blockquote> | |
<img SRC="resource/prefs/popup.JPG" border="0"> | |
</blockquote></td></tr><tr><td align="right" valign="top"><img src="../../../../..//images/Adarrow.gif" border="0" height="16" width="16"></td><td>Profile Validation and Conformance</td></tr><tr><td align="right" valign="top"> | |
| |
</td><td valign="top"><p> | |
The | |
<b>Profile validation and conformance</b> | |
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. | |
</p></td></tr><tr><td align="right" valign="top"> | |
| |
</td><td valign="top"><blockquote> | |
<img SRC="resource/prefs/validation.JPG" border="0"> | |
</blockquote></td></tr><tr><td align="right" valign="top"><img src="../../../../..//images/Adarrow.gif" border="0" height="16" width="16"></td><td>Project Topology</td></tr><tr><td align="right" valign="top"> | |
| |
</td><td valign="top"><p>The | |
<b>Project Topology</b> | |
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.</p></td></tr><tr><td align="right" valign="top"> | |
| |
</td><td valign="top"><p> | |
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. | |
</p></td></tr><tr><td align="right" valign="top"> | |
| |
</td><td valign="top"><blockquote> | |
<img border="0" SRC="resource/prefs/topology.JPG"> | |
</blockquote></td></tr><tr><td align="right" valign="top"><img src="../../../../..//images/Adarrow.gif" border="0" height="16" width="16"></td><td>Resource Management</td></tr><tr><td align="right" valign="top"> | |
| |
</td><td valign="top"><p> | |
The | |
<b>Resource Management</b> | |
page specifies the file overwrite, folder creation, and file | |
checkout policies for the wizards. | |
</p></td></tr><tr><td align="right" valign="top"> | |
| |
</td><td valign="top"><blockquote> | |
<img SRC="resource/prefs/resource.JPG" border="0"> | |
</blockquote></td></tr><tr><td align="right" valign="top"><img src="../../../../..//images/Adarrow.gif" border="0" height="16" width="16"></td><td>Scenario Defaults</td></tr><tr><td align="right" valign="top"> | |
| |
</td><td valign="top"><p> | |
The | |
<b>Scenario Defaults</b> | |
page controls the default choices that appear on the first | |
page of the Web Service and Web Service Client wizards. | |
</p></td></tr><tr><td align="right" valign="top"> | |
| |
</td><td valign="top"><blockquote> | |
<img SRC="resource/prefs/resource.JPG" border="0"> | |
</blockquote></td></tr><tr><td align="right" valign="top"><img src="../../../../..//images/Adarrow.gif" border="0" height="16" width="16"></td><td>Server and Runtime</td></tr><tr><td align="right" valign="top"> | |
| |
</td><td valign="top"><p> | |
The | |
<b>Server and Runtime</b> | |
page lets you choose your favourite server, Web service | |
runtime and J2EE level. | |
</p></td></tr><tr><td align="right" valign="top"> | |
| |
</td><td valign="top"><blockquote> | |
<img SRC="resource/prefs/serverRuntime.JPG" border="0"> | |
</blockquote></td></tr><tr><td align="right" valign="top"><img src="../../../../..//images/Adarrow.gif" border="0" height="16" width="16"></td><td>Test Facility Defaults</td></tr><tr><td align="right" valign="top"> | |
| |
</td><td valign="top"><p> | |
The | |
<b>Test Facility Defaults</b> | |
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 | |
<b>Generate a Proxy</b> | |
deselected and | |
<b>Test the Web service</b> | |
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. | |
</p></td></tr><tr><td align="right" valign="top"> | |
| |
</td><td valign="top"><blockquote> | |
<img SRC="resource/prefs/test.JPG" border="0"> | |
</blockquote></td></tr></tbody></table></body></html> |