Validate Invoking Enterprise Business Services

Constructing the ABCS 12-31 Content Payload Generally speaking, there is only one Sync message per EBO with a single and list implementation and the payload of the message is the entire EBO. Sync should always be used to synchronize the entire business object. Multiple Sync messages may exist in cases in which different named views of the business object exist, but never for synchronizing a specific component of a business object. Verb Attributes The Sync verb has an optional ResponseCode attribute that is intended to communicate the payload that is expected in the response message to the Sync request. The possible values for the ResponseCode for Sync is restricted to OBJECT response payload is expected to be the entire object that was created or updated and ID response is only the ID of the object that was created or updated Corresponding Response Verb The Sync verb has a paired SyncResponse verb that is used in the response message for each Sync EBM. The response is expected to be provided by the target application only if the original request message explicitly requests a response by setting the ResponseCode attribute in the Sync message. Response Verb Content Payload The payload type of the response verb is always based on the payload type of the Sync Request operation. It is implemented as a different type to support user customization if needed.

12.8.5 Validate

The Validate verb is a request to a service provider to validate the content provided in the payload of the message. It is used for operations that are intended to verify the validity of data. When to Use the Validate Verb Operations that use the Validate verb do not create or update business objects, and can internally be implemented as an orchestration of other operations. For example, validating a purchase order for approval may involve validating whether a budget is Tip: Unlike the OAGIS implementation of Sync, we have opted not to have specific attributes in Sync to indicate Add, Change, Replace, and Delete. The Enterprise Object Library EOL implementation of Sync is a verb that is intended to change the target object to exactly what is specified in the message payload. Sync cannot be used for deleting content-an explicit delete operation must be used in this case. Note: The design intent is to avoid having two verbs with the same objective. The Sync verb also supports the creation of an object, but is intended for use primarily in the scenario in which the object exists in both the source and the target systems. That is, the semantics of usage of Sync as a verb communicates to the recipient application the fact that the object being synchronized exists in both the source and target, whereas the usage of Create or Update is intended to communicate the fact that the object being created or updated does not exist in the source system. 12-32 Developers Guide for Oracle Application Integration Architecture Foundation Pack available, if the supplier is still active, if the requisitions that need the items on the line are still valid, and so on. Content Payload The payload of any operation that falls in the Validate category can be a business object, a business component of a business object, or any other user-defined payload. Verb Attributes Not applicable. Corresponding Response Verb The Validate verb has a paired ValidateResponse verb that is used in the response message for each Validate EBM. The Validate verb is always implemented synchronously. Response Content Payload The response payload of a Validate operation is user-definable.

12.8.6 Process