Transport Callouts Introduction to Callouts

13-6 Oracle Fusion Middleware Users Guide for Oracle B2B Figure 13–3 Creating a Callout The image shows the following tabs on the Oracle B2B screen: Manage Batch, Callout, PurgeArchive, and Listening Channel. The Callout tab is selected. The first area of the tab shows the Callout list. There are plus and minus icons above the list and to the right. The second area of the tab shows the Callout Details with the following fields: Implementation Class, Library Name, Description, and Timeout. The third area of the tab shows the Parameters of the selected callout in a table with the following columns: Name, Type, Value, and Mandatory. There are Save and Cancel buttons at the top of the tab on the right side. You can create multiple callouts with the same name if you assign them different implementation names. You cannot delete a callout that is included in an agreement. Table 13–1 lists the callout details that you provide. Table 13–1 Callout Details Field Description Implementation Class Enter the class file name without .class. Note: Oracle B2B includes a predefined class file named XSLTCalloutImpl that you can use for XML-to-XML transformations. Managing Callouts 13-7 Callout parameters are similar in concept to global variables to which you can assign local values that are applicable only to a specific callout use. Or, you can create a callout parameter and assign it a default value that is applicable to all callout uses. Changes to callout parameters for an existing callout affect all agreements that use that callout. Table 13–2 lists the optional callout parameter attributes. Library Name Enter the JAR file name that has the callout implementation classes. Note: If you specify one or more of your own callout JAR files, you must specify the directory location. Use the Configuration tab from the Administration link. The directory location for the default b2b.jar file included with Oracle B2B does not need to be specified. The callout library must be manually migrated from one environment to another. The B2B exportimport feature does not migrate the callout library JAR. See Section 16.1, Setting Configuration Parameters, for information on specifying the callout directory for your own callout JAR files. The image shows a section of the Oracle Enterprise Manager screen. The first area of the screen shows icons for Farm, SOA Infrastructure, and Topology. The left pane of the screen shows an expanded hierarchy with the soa-infraoc4j_soa node selected. The right pane shows the B2B Server Properties with the following fields: Callout Directory and Log Payload a check box. Description Enter a description. Timeout seconds Enter the time limit in which to process the callout. Table 13–1 Cont. Callout Details Field Description 13-8 Oracle Fusion Middleware Users Guide for Oracle B2B After you create a callout, it is available to include in an agreement. See Section 13.3, Including a Callout in an Agreement, for more information. If you change a callout after it is deployed with an agreement, a server restart is required. To create a callout: 1. Click Administration, and then Callout. 2. In the Callout section, click Add. 3. Enter a name for the callout. You may want to indicate if you are creating a transport callout in the name. 4. Enter callout details, as described in Table 13–1 .

5. Optional Click Add in the Parameters section.

6. Enter a parameter name and attributes, as described in Table 13–2 .

7. Click Save.

You can edit the details, parameters, or parameter values at any time, but not the callout name.

13.3 Including a Callout in an Agreement

After you create a callout, it is available to include in an agreement, as shown in Figure 13–4 . Figure 13–4 Specifying a Callout in an Agreement Table 13–2 Callout Parameter Attributes Field Description Name Enter a parameter name. Type Select from Integer, Float, String, Boolean, or Date types. The format for the Date type is MMDDYYYY. Note: Changing a type can invalidate the parameter default value. Value Enter a value. If Encrypted is set to True, then this value is encrypted. Mandatory Select True or False. Encrypted Select True or False. Description Enter an optional description.