Setting Up a Web Service Connection
To set up a web service connection to connect a Logi JReport catalog to a web service data source, follow the steps below:
- Create a catalog or open a catalog.
- In the Catalog Manager, right-click the node of a data source and choose New SOAP Web Services Connection from the shortcut menu.
If you want to set up the connection in a new data source in the catalog, select any of the existing catalog data sources, select New Data Source on the Catalog Manager toolbar, then in the New Data source dialog, specify the name of the data source, select the SOAP Web Service connection type and select OK.
The SOAP Web Service Data Source dialog appears.
- Specify a WSDL file to create the web service connection.
- If you want to use a WSDL file on your local disk, check the Local File radio button, then select the Browse button to browse for the file.
- If you want to use a WSDL file through a URI, check the URI radio button, then input the URI string in the text field that follows and specify the user name and password for assessing the WSDL file.
- Select the Options button to show the additional settings.
- Select the Time Zone and Locale button to specify the time zone and the locale as required.
- If you want the catalog or schema, or both of them to be used in data manipulation, make the selection in the Qualified Name Pattern box according to your requirements.
- Input the number of seconds in the Time Out text field to specify how long to wait to get the WSDL file.
- Select the Security Configuration button to display the Security Configuration Setting dialog to configure the security policy.
- Specify the user name and password for the user name token to be used in the security policy.
- Specify the type for the key store from the Key Store Type drop-down list.
- Select the Browse button next to the Key Store File field to specify the key store file.
- Input the password in the Key Store Password text field to get the access to the key store file.
- In the Client Key box, specify the alias name to be used as client signature in the key store, and set the password for the name.
- In the Server Key box, specify the alias name and password to be used to get the server-side certification or public key in the key store.
- When done, select OK to go back to the Web Service Data Source dialog.
- Select the OK button in the Web Service Data Source dialog to set up the web service connection.
Note: When you configure the security policy for a web service connection, except for Key Store Type, all the other options in Security Configuration Setting dialog can be controlled by constant level formulas. However, the formula control is only available after the web service connection is already set up, that is when you edit an existing web service connection.