Create Invoking Enterprise Business Services

12-26 Developers Guide for Oracle Application Integration Architecture Foundation Pack This section includes the following topics: ■ Section 12.8.1, Create ■ Section 12.8.2, Update ■ Section 12.8.3, Delete ■ Section 12.8.4, Sync ■ Section 12.8.5, Validate ■ Section 12.8.6, Process ■ Section 12.8.7, Query These sections present a detailed view of each of the verbs in the context of: ■ When the verb should be used ■ What should be the content payload when the verb is used ■ What are the attributes of the verb, if any ■ What is the corresponding response verb, if any ■ What is the content payload for the response verb

12.8.1 Create

The Create verb indicates a request to create a business object using the information provided in the payload of the Create message. It is used in operations that are intended to create a new instance of a business object. When to Use the Create Verb If both the service requester and service provider have the same object, then Sync would be a more appropriate verb to use. However, the usage of Sync is conditional on the service provider having an implementation of a Sync operation. A typical use of a Create operation is a front-end customer management system that could take service requests from customers and based on the information provided, request a work order system to create a work order for servicing the customer. The Create verb is not used for composite operations; it always involves the creation of one or more for List instance of a business object. Content Payload The payload of an operation that uses a Create verb is typically a complete business object, and in general every business object has only two messages with a Create operation Single and List. Verb Attributes The Create verb has an optional ResponseCode attribute that communicates the payload that is expected in the response message to the Create request. The possible values for the ResponseCode are restricted to either ID response payload is expected to be the Identifier of the object that was created or OBJECT response payload is expected to be the entire object that was created. Corresponding Response Verb The Create verb has a paired CreateResponse verb that is used in the response message for each Create EBM. The response is expected to be provided by the target Constructing the ABCS 12-27 application only if the original request message explicitly requests a response by setting the ResponseCode attribute in the Create message. Response Content Payload The payload type of the response verb is always based on the payload type of the Create Request operation. It is implemented as a different type to support user customization if needed.

12.8.2 Update