Transformations > Web Services transformation > Create a Web Services consumer connection
  

Create a Web Services consumer connection

Connect to a web service using Web Services Description Language (WSDL) and an endpoint URL. You can also enable security for the web service.
    1. In Administrator, select Connections, and click New Connection.
    2. Enter the connection details. For the Type, select WSConsumer.
    If the WSConsumer connection is not in the list of connections, in Administrator, open the Add-On Connectors page to install the connector for your organization.
    Note: Ensure that you select WSConsumer, not Web Service. Web Service connections are used for mapplets or PowerCenter tasks.
    3. Enter the connection properties:
    1. a. Select the runtime environment for the web service connection.
    2. b. For Authentication, select one of the following options:
    4. Enter the authentication connection properties. The properties that appear depend on the authentication that you selected.
    The following table describes the properties to configure:
    Property
    Description
    WSDL URL
    The URL provided by the web service.
    If you are using a WSDL URL that has HTTP Basic authentication, download the WSDL to the machine where the Secure Agent runs. For the WSDL URL, enter the file path. For example, you can enter the following directory path: C:\WSDL\Human_Resources.wsdl
    Endpoint URL
    Endpoint URL for the web service. The WSDL file specifies this URL in the location element.
    Username
    Applicable to username token authentication. User name to authenticate the web service.
    Password
    Applicable to username token authentication. Password to authenticate the web service.
    Encrypt Password
    Applicable to username token authentication. Enables the PasswordDigest property which combines the password with a nonce and a time stamp. The mapping task applies a SHA hash on the password, encodes it in base64 encoding, and uses the encoded password in the SOAP header.
    If you do not select this option, the PasswordText property is enabled and the mapping task does not change the password in the WS-Security SOAP header.
    HTTP Username
    User name used to access the web service.
    HTTP Password
    Password to access the web service.
    5. Save the connection.