Specifying SOAP Action

To perform any operation on the Oracle database using the WCF-based Oracle Database adapter, adapter users must specify a SOAP action. The SOAP action communicates to the adapter what action should be performed. You can specify the SOAP action either at design time or at run time. However, if you specify the SOAP action both at design time and run time, the action you specified at design time will be overridden.

For more information about specifying SOAP action, see http://go.microsoft.com/fwlink/?LinkId=102063.

For design time, you must specify the SOAP action as part of orchestration by including an expression shape.

To specify SOAP action at design time
  1. In the BizTalk orchestration include an Expression shape by dragging it from the BizTalk Orchestration toolbox.

  2. Double-click the Expression shape to open the BizTalk Expression Editor.

  3. Specify the action in the BizTalk Expression Editor. For example:


    For more information about Expression shape and the BizTalk Expression Editor, see http://go.microsoft.com/fwlink/?LinkId=102064.

For run time, you must specify the SOAP action as part of the port properties dialog box.

To specify a SOAP action at run time
  1. Click Start, point to Programs, point to Microsoft BizTalk Server 2006, and then click BizTalk Server Administration.

  2. In the console tree, on the left pane of the BizTalk Server Administration console, expand BizTalk Server 2006 Administration, right-click BizTalk Group, and then click Refresh.

  3. Expand BizTalk Group, expand Applications, and then click Send Ports. In the right pane, you can choose to create a new port or select an existing port.

  4. In the port properties dialog box, from the Type drop-down list, select WCF-Custom, and then click Configure.

  5. In the WCF-Custom Transport Properties dialog box, click the General tab.

  6. In the Action text box, specify the SOAP action for the operation. You can specify the action in the following ways:

    • By using the single action format. Use this format if the WCF-Custom port sends and receive messages for a single operation. For example:

    • By using the action mapping format. Use this format if a single WCF-Custom port sends and receives messages for more than one operation. For example, if a single WCF-Custom port sends and receives messages for Op1 (to insert records in the EMP table) and Op2 (to update records in the EMP table), the SOAP action can be specified in the following manner:

        <Operation Name="Op1" Action="http://Microsoft.LobServices.OracleDB/2007/03/SCOTT/Table/EMP/Insert" />
        <Operation Name="Op2" Action="http://Microsoft.LobServices.OracleDB/2007/03/SCOTT/Table/EMP/Update " />
      This approach provides greater flexibility in terms of specifying a set of actions and hence enabling messages belonging to different action types to flow through the same port.

      The format for the SOAP action is different for each operation. For more information about action format for each operation, see individual topics under Technical Reference.