Tuesday, July 5, 2022

Create an Inbound BackEnd Integration | B2B for Oracle Integration

Create a Backend Receive Inbound Integration

Use below payload as Rest Trigger Request payload:
  "type": "MSG",
  "id": "12345",
  "direction": "INBOUND",
  "trading-partner": "ACME",
  "document-definition": "PO_850",
  "message": [
      "b2b-message-reference": "biz:0AC400D117503A8246000000347849EB"
      "b2b-message-reference": "biz:0AC400D117503A8246000000347849EA"

Backend Integration flow:

Steps in Detail:

Create an App driven Orchestration pattern and take a REST trigger and configure

Take a For Each action to get each EDI Message.

Add a Switch and add a condition to get your inbound EDI . Here added condition as document-definition ="TEST_850_PO_DOC"

Drag and drop B2B action and configure
Select a mode: here, B2B Trading Partner mode

Direction: Inbound
Operation: Fetch Message

Select the created Document definition

Map the  currentMsg >> B2b Message Reference to B2B Action>> FetchMessageInput >> B2B Massage Reference

Now we can call a backend service and map the EDI XML data. Here, we are just logging the EDI XML data.

From body scope >> Fault Handler >> Default Handler

Drag and drop B2b action and select Mark as error option for fault handling.

Map the bodyScopeFault object Errocode,reason,details and CurrentMsg reference.

Add a tracking with Trading partner, document-definition and direction.

No comments:

Post a Comment

Featured Post

11g to 12c OSB projects migration points

1. Export 11g OSB code and import in 12c Jdeveloper. Steps to import OSB project in Jdeveloper:   File⇾Import⇾Service Bus Resources⇾ Se...