Borland Software Water System silk perforator java explorer 2006 release 2 Manuel D’Utilisation

Page de 110
70
SilkPerformer Java Explorer User Guide
3  S
ETTING
 U
P
 T
ESTS
Testing Secure Web Services
Working with Secure Web Service Calls
Using Apache Axis 
1.2.1
You must use Apache Axis 1.2.1 (or higher) to test secure Web services. 
Procedure  To configure Java Explorer to use Apache Axis 1.2.1:
1
Select the menu Tools/Project Settings.
2
Select the Web Service Plugin tab. 
3
Select Axis 1.2.1 from the Assigned Web Service Plugin list box. The 
selected Axis version is stored persistently in Java Explorer’s project file. 
Note  The read-only Classpath panel shows the classpath 
configuration that belongs to the selected Axis version. 
4
Click OK on the Project Settings dialog.
5
Click Yes on the subsequent dialog, confirming that you want to change 
the Web service library settings.
To execute Web service calls over a secure connection, ensure, that you have 
created a truststore for your Java Development Kit and that you have configured 
the Java Explorer Runtime process to use a truststore. See 
 for details.
Using basic 
authentication
Java Explorer supports authentication of Web services. Use the Connection 
Settings dialog to specify your credentials (see 
Specifying Web Service Connection Settings
Procedure  To specify Web service connection settings:
1
In the Loaded Components paneselect the Classes tab.
2
Select the loaded Web Service class node to display Input Data Properties 
fields.
3
In the Input Data Properties pane, click the elipse (...) button on the right-
hand side of the Connection information.
4
On the following dialog, you can configure the Web service endpoint and 
your user credentials.
5
Click OK to save your connection settings.