Applying SOAP WS-Security

TIBCO ActiveMatrix BusinessWorks™ Plug-in for Salesforce enables you to apply SOAP WS-Security by using reference binding. You can create a reference binding for any of the activities in the Salesforce Palette except the Salesforce Outbound Message Listener activity and the Topic Subscriber activity.

Creating a Reference Binding and Adding a Policy

To apply SOAP WS-Security, you must first create a reference binding and add a policy to it. You can do this on the General tab of the activity in TIBCO Business Studio.

Prerequisites

To familiarize yourself with the different types of policies, see the "Policies" topic and "Policy Definitions and Concepts" topic in the TIBCO ActiveMatrix BusinessWorks™ Concepts guide.

Procedure

  1. On the General tab of an activity in the Salesforce Palette, click the Create new binding icon.

    The Select a Service dialog box opens.

  2. Select a service from the list of services or create a new WSDL service. Click OK. A Partner Link is created.
    Note: This WSDL must contain Salesforce operations and endpoint.
  3. Click OK on the Partner Link created message box that opens.

    A list of SOAP methods is displayed in the Editor area in TIBCO Business Studio.

  4. Click the SOAP reference to see its properties and then on the General tab, select Reference Type as Binding Reference.

  5. Perform this step if no binding is displayed on the Binding tab.
    1. Click the Add Binding icon.
    2. In the Add Binding dialog box that opens, select SOAP Binding and click Finish.
      A SOAP reference binding is created.
      Note: When creating a reference binding, you cannot alter any of the Salesforce SOAP binding settings.
  6. Expand SOAPReferenceBinding. Click Policies and then click the Add Policy icon.

  7. From the Select Policy dialog box that opens, select an existing policy or create a new policy and click OK.

    For more information about the different types of policies you can create, see the "Policies" topic and "Policy Definitions and Concepts" topic in the TIBCO ActiveMatrix BusinessWorks™ Concepts guide.

  8. After you create the reference binding and select a policy, click the activity for which you created it. On the General tab, click the Refresh Binding icon to the right of the Reference Binding field.