Creating SOAP connectors that use WSS username tokens and timestamps
To call a Web service that requires the WS-security protocol, configure the connector rule to include the necessary credentials in the SOAP request envelope header.
This task describes how to secure a SOAP connector with UsernameToken Authentication.
- In the navigation pane of Dev Studio, click Records.
- Expand the Integration-Connectors category, and then click Connect SOAP.
- On the Instances of Connect SOAP page, click the name of a rule to open it.
- Click the Advanced tab.
- In the Web services (ws-*) configuration section, in the Security profile field, click the rule opener.
- On the Create-WS Security Profile page, enter a short description and name for the WS security profile.
- Click Create and open.
- On the Out Flow tab, click Add new configuration.
- In the Configuration type field, select Username.
- Click Add new configuration.
- In the Configuration type field, select Timestamp.
- In the Time to live field, enter a value that the system uses to verify the response returned from the server.
- Click the In Flow tab.The In Flow Configuration Type is used for response messages from the SOAP service. To configure this type properly, you must know what value the server is configured to return. In this task, the server returns a Timestamp.
- Click Add new configuration.
- In the Configuration type field, select Timestamp.
- Click Save to save the WS security data instance.
- Click Save to save the connect SOAP rule.
Previous topic Using WS-Security to enhance SOAP messages Next topic Configuring digital signature and encryption for SOAP connectors