Setting up stage properties in DataStage

The Stage tab contains the following sections:

  • Web service information
  • Properties
  • Options
  • Security
  • Proxy

Selecting a web service operation in DataStage

Procedure

  1. In the Web Service stage properties panel, on the Stage tab, click Select web service operation.
  2. Input the WSDL address or upload a local WSDL file, then select a web service operation. Then, click Apply.
  3. In the Import options dialog box, confirm whether you want to import request XML metadata into input columns, output columns, or both, then click OK.

Setting up options properties in DataStage

About this task

Use the Options page to complete the following tasks:
  • Set up processing options for SOAP faults.
  • Set a timeout limit for web service responses.

Procedure

  1. Open the Options section of the Stage tab.
    When the web service returns SOAP faults, the default action is to end the server job. This action corresponds to the Fatal option.
  2. If needed, select a different error handling option, as described in Processing SOAP Faults.
  3. To prevent sending a warning message to the job log about a rejected web service request, select the Reject option and the Disable Log Reject Reasons checkbox.
  4. To set a timeout factor for the web operation, enter a maximum, in units of seconds. The value zero 0 is equivalent to no limit.
    Note: The web service might impose a time limit that is shorter than your timeout factor.

Setting up security properties in DataStage

About this task

Use the Security page to complete the following tasks:
  • Add user and password credentials for authentication against the HTTP server that hosts the web service.
  • Set up trust criteria for HTTPS connections.

Procedure

  1. Open the Security section of the Stage tab.
  2. For Basic HTTP authentication, select Authorization Required and enter valid username and password credentials.
  3. For SSL encryption, select SSL Encryption Required.

    To accept security credentials of all HTTPS servers, select Trust All Servers.

    If you do not select Trust All Servers, you can select a truststore type of JKS or PKCS12. If you select PKCS12, then you must provide a truststore password for the SSL certification.

Setting up HTTP and HTTPS proxy properties in DataStage

About this task

Use the Proxy page to complete the following tasks:
  • Identify the HTTP or HTTPS proxy server.
  • Identify your credentials that are required to access the internet.

Procedure

  1. Open the Proxy section of the Stage tab.
  2. Select HTTP/HTTPS Proxy Required.
  3. If required by the proxy server, specify a username and password.
  4. Specify the proxy hostname or IP address.
  5. Specify the listening port on the proxy server.