Add the REST Adapter as a Trigger Connection

The REST Adapter is used in this example to provide invoice information as an input to the RA_INTERFACE_LINES_ALL REST service invocation through the Oracle E-Business Suite Adapter.

Perform the following steps to add the REST Adapter as a trigger (source) connection:

  1. In the "EBS OIT Demo" integration page, drag and drop the REST Adapter connection called "RESTSample" from the Triggers section in the upper right corner to the large + section within the circle in the integration canvas.

    The Configure REST Endpoint wizard appears.

  2. Enter the following information:

    • What do you want to call your endpoint? - Enter the name of this endpoint, such as "REST".

    • What does this endpoint do? - Enter the usage of this endpoint, such as "Provide REST endpoint with input payload".

    • What is the endpoint's relative resource URI? - Enter /RA_INTERFACE_LINES_ALL/.

    • What action does the endpoint perform? - Select "POST" from the drop-down list.

    Ensure that you select the following check box for this trigger (source) connection:

    • Configure a request payload for this endpoint

    Click Next.

  3. In the Request page, perform the following tasks:

    • In the "Select the request payload file" section, select the XML schema button.

      Please note that the request payload file type can be either XML schema or JSON format.

    • Click Browse to select a desired request payload file, such as "input.xsd". Click Open to attach the selected file. System will parse the schema and display the root element (RA_INTERFACE_LINES_ALL_input) in the Element field.

      For the sample request payload, see Sample XSD for the Oracle E-Business Suite Adapter as an Invoke Example for an Open Interface REST Service.

    • In the "Select the type of payload with which you want the endpoint to receive" section, select the XML button as the payload type.

    Click Next.

  4. This displays the Summary page with the following REST service information that you specified earlier:

    • REST Service URI: /RA_INTERFACE_LINES_ALL/

    • Method: POST

    • Request Media Type: application/xml

    Click Done.

    Click Save to save your work.

    The "REST" endpoint now appears as a trigger in the integration flow.