Introduction to Scheduling Trading Partner Downtime Scheduling Trading Partner Downtime

12-4 Oracle Fusion Middleware Users Guide for Oracle B2B

12.4 Extending Trading Partner Downtime

The following options enable you to alter an existing schedule.

12.4.1 Overlapping Schedules

Overlap is allowed using different schedule names. Overlap is not allowed with the same schedule name. Consider a schedule X between 4:00 AM to 6:00 AM. It is possible to create a new schedule Y with start time 5:00 AM to end time 7:00 AM. This makes the effective schedule from 4:00 AM to 7:00 AM.

12.4.2 Using the Extend Option

By default an error is thrown while extending an earlier created schedule. User can extend the schedule using the command line option -Dextend. Consider a schedule X between 4:00 AM to 6:00 AM, it is possible to extend it by creating a new schedule X with option -Dextend=true between 6:00 AM to 8:00 AM. This makes the effective schedule from 4:00 AM to 8:00 AM. See Section 19.13, Scheduling Trading Partner Downtime for information and examples about using the command line options. 13 Managing Callouts 13-1 13 Managing Callouts This chapter describes how to create and use Java callouts, which transform the formats of messages exchanged between the host and remote trading partners. You can use callouts to invoke an XSLT style sheet, and any Java program in general. This chapter contains the following topics: ■ Section 13.1, Introduction to Callouts ■ Section 13.2, Creating a Callout ■ Section 13.3, Including a Callout in an Agreement ■ Section 13.4, Implementing a Callout

13.1 Introduction to Callouts

Callouts are used in environments in which a host trading partner application does not use the same message format as the remote trading partner. For example, a remote trading partner sends a RosettaNet XML-formatted purchase order request to a host trading partner, as shown in Figure 13–1 . 13-2 Oracle Fusion Middleware Users Guide for Oracle B2B Figure 13–1 A Purchase Order Example: Using Callouts for Differently Formatted XML Messages The image shows a box on the far right labeled Remote Trading Partner buyer RosettaNet XML. There are two arrows on the left side of this box. The top arrow labeled Purchase Order Request RosettaNet XML format points out to the left to a box labeled Host Trading Partner seller. The bottom arrow labeled Purchase Order Acceptance RosettaNet XML format points from the box labeled Host Trading Partner seller into the box labeled Remote Trading Partner buyer RosettaNet XML. The box labeled Host Trading Partner seller has a smaller box inside in the upper left that is labeled A and a smaller box inside in the lower left that is labeled B. An arrow labeled Callout Usage Transforms RosettaNet XML to Oracle E-Business Suite XML points down to the box labeled A. An arrow labeled Responding Callout Usage Transforms Oracle E-Business Suite XML to RosettaNet XML points up to the box labeled B. There are two arrows on the left side of box labeled Host Trading Partner seller. The top arrow labeled Purchase Order Request Oracle E-Business Suite XML format points out to the left to a box labeled Host Application Oracle E-Business Suite XML. This top arrow is also labeled Internal Delivery Channel. The bottom arrow labeled Purchase Order Acceptance Oracle E-Business Suite XML format points from the box labeled Host Application Oracle E-Business Suite XML into the box labeled Host Trading Partner seller. This bottom arrow is also labeled Responding Internal Delivery Channel. The Host Application Oracle E-Business Suite XML box and the Host Trading Partner seller box are inside a larger dashed box. Remote Trading Partner Host Trading Partner Host Application Purchase Order Request Oracle E-Business Suite XML format Purchase Order Acceptance Oracle E-Business Suite XML format Responding Callout Usage Transforms Oracle E-Business Suite XML to RosettaNet XML Callout Usage Transforms RosettaNet XML to Oracle E-Business Suite XML Oracle E-Business Suite XML seller buyer RosettaNet XML A B A B Internal Delivery Channel Responding Internal Delivery Channel Purchase Order Request RosettaNet XML format Purchase Order Acceptance RosettaNet XML format Source Document Definition: PurchaseOrderRequest Target Document Definition: PurchaseOrderAcceptance Source Document Definition: PurchaseOrderAcceptance Target Document Definition: PurchaseOrderRequest