Cpi Odata: Integration Flow
Cpi Odata: Integration Flow
EDMX: An .edmx file is an XML file that defines a conceptual model, a storage
model, and the mapping between these models. It is used for database
operations.
Integration Flow:
General Tab
1
Connection Tab
The value in the Address should be unique across the tenant for
identification of this iFlow.
Keep Conditions tab as it is.
2
CPI ODATA
Note: There are two ways you can configure XPATH for XML
3
CPI ODATA
5. Now connect the Request Reply to the Receiver of the integration flow using
Odata Adapter
4
CPI ODATA
General Tab:
Connection Tab:
For testing purpose, we have publicly available Odata service Northwind
Processing Tab:
5
CPI ODATA
Step 2: Select Entity & Define Operation- Click on step 2 -> Operation
Query (GET) automatically gets selected as we selected it already in
Operation details -> Select Entity as Orders -> You can select the
fields from Odata Northwind service as per your requirement.
Query: It gets automatically build once you select the required fields or
Top or skip.
6
CPI ODATA
Query: Whole query gets build which will be actually seen on Query
Options of Processing tab.
Click on Finish.
7
CPI ODATA
Once you click on finish, you get two files EDMX and XSD under
resources tab.
iii. Content Type: Atom/Json (This is the type which can be used to send
data to odata service).
iv. Page Size: To read number of rows/records per fetch. By default, it is
200, you can customize as per your requirement. It is usually useful
when there are bulk of records and you need chunk the records per
fetch.
Once you deploy then go to Operations view -> Manage Integration Content ->
All
You can find your iflow here, it comes in Starting mode first and once validation
is done and iflow is error free then it comes in Started mode.
8
CPI ODATA
Odata_sampleXML.txt
Once you click on Send button in Postman tool. Please check your message
under Monitor Message Processing.
9
CPI ODATA
You can use “Trace” option to view each and every step of iFlow. To use trace
functionality, it should be switched on before message is triggered from Sender
system.
10
CPI ODATA
Below is the response payload from Northwind service which you requested via
Get Query.
Happy Learning 😊
11