In this Blog , I will Outline the Steps to Create Short BIP Reports which are created to fetch lesser volumes of data.
Use Case : Create a OIC Integration to Accept the Parameters and Invoke the BIP Report and Read the response and send it back as a REST Response.
Connections Required :
1) REST Trigger Connection
2)SaaS BIP Connection
High Level Steps :
1) Rest Trigger
2) Invoke BI
3) Write the Response to Stage
4) Read the Response from Stage
5) Map Read Stage Response to rest Response.
6) Activate & Run
Configure rest Trigger End Point.
![](https://static.wixstatic.com/media/672833_fb5e3024b6f346f1afa96352026ab3fc~mv2.png/v1/fill/w_868,h_611,al_c,q_90,enc_avif,quality_auto/672833_fb5e3024b6f346f1afa96352026ab3fc~mv2.png)
Define The Parameters
![](https://static.wixstatic.com/media/672833_e887888815774604aee0597daa909fcf~mv2.png/v1/fill/w_850,h_625,al_c,q_90,enc_avif,quality_auto/672833_e887888815774604aee0597daa909fcf~mv2.png)
Configure response Message
![](https://static.wixstatic.com/media/672833_db63e6959cad4cba831af2954542964a~mv2.png/v1/fill/w_845,h_622,al_c,q_90,enc_avif,quality_auto/672833_db63e6959cad4cba831af2954542964a~mv2.png)
![](https://static.wixstatic.com/media/672833_bea7749cfaff4206abd2a2c51c3206ec~mv2.png/v1/fill/w_858,h_624,al_c,q_90,enc_avif,quality_auto/672833_bea7749cfaff4206abd2a2c51c3206ec~mv2.png)
![](https://static.wixstatic.com/media/672833_757558b3929146c09ee19657ee71161d~mv2.png/v1/fill/w_859,h_542,al_c,q_90,enc_avif,quality_auto/672833_757558b3929146c09ee19657ee71161d~mv2.png)
Configure RunReport Service
![](https://static.wixstatic.com/media/672833_d4e4b17eb06542e39c4f0f77a1fc814a~mv2.png/v1/fill/w_842,h_528,al_c,q_90,enc_avif,quality_auto/672833_d4e4b17eb06542e39c4f0f77a1fc814a~mv2.png)
Select Operation As RunReport
![](https://static.wixstatic.com/media/672833_8c31bfbc814e46959de8f7e98ded420c~mv2.png/v1/fill/w_859,h_476,al_c,q_90,enc_avif,quality_auto/672833_8c31bfbc814e46959de8f7e98ded420c~mv2.png)
![](https://static.wixstatic.com/media/672833_15e4807d7d014f00afa190a3c0f1ec59~mv2.png/v1/fill/w_843,h_486,al_c,q_90,enc_avif,quality_auto/672833_15e4807d7d014f00afa190a3c0f1ec59~mv2.png)
![](https://static.wixstatic.com/media/672833_44d43125cfc543e2a55a1438bffc93ab~mv2.png/v1/fill/w_863,h_403,al_c,q_85,enc_avif,quality_auto/672833_44d43125cfc543e2a55a1438bffc93ab~mv2.png)
Map the Rest request to BIP Invoke
![](https://static.wixstatic.com/media/672833_4c5f7b62ea874d7aa7cc902d2c8962ea~mv2.png/v1/fill/w_980,h_463,al_c,q_90,usm_0.66_1.00_0.01,enc_avif,quality_auto/672833_4c5f7b62ea874d7aa7cc902d2c8962ea~mv2.png)
Now Configure the Stage File Operation to write the BIP Response to OIC Stage Area
![](https://static.wixstatic.com/media/672833_b3485a2d034745b2b642b5161cb25a65~mv2.png/v1/fill/w_860,h_580,al_c,q_90,enc_avif,quality_auto/672833_b3485a2d034745b2b642b5161cb25a65~mv2.png)
Add the below Opaque Element As file
<?xml version = '1.0' encoding = 'UTF-8'?>
<schema targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/opaque/"
xmlns="http://www.w3.org/2001/XMLSchema" >
<element name="opaqueElement" type="base64Binary" />
</schema>
![](https://static.wixstatic.com/media/672833_42c438f50b18473e97b920ef10fd1ffd~mv2.png/v1/fill/w_853,h_520,al_c,q_90,enc_avif,quality_auto/672833_42c438f50b18473e97b920ef10fd1ffd~mv2.png)
Now Configure read File Operation to read the File Written to the OIC Stage.
![](https://static.wixstatic.com/media/672833_56d19eeea4464968bca672b7be050e91~mv2.png/v1/fill/w_870,h_499,al_c,q_90,enc_avif,quality_auto/672833_56d19eeea4464968bca672b7be050e91~mv2.png)
Create a Csv Schema File with the respective Structure and configure as below.
![](https://static.wixstatic.com/media/672833_24cf90bb833c44b3a6104872ab30d4c8~mv2.png/v1/fill/w_869,h_563,al_c,q_90,enc_avif,quality_auto/672833_24cf90bb833c44b3a6104872ab30d4c8~mv2.png)
![](https://static.wixstatic.com/media/672833_1a8004358fd44adfa016b54e6c281354~mv2.png/v1/fill/w_846,h_509,al_c,q_90,enc_avif,quality_auto/672833_1a8004358fd44adfa016b54e6c281354~mv2.png)
Now Map the read File Stage Response to the Rest Trigger Response .
your integration will look like below.
![](https://static.wixstatic.com/media/672833_73de7e256b534059a9250268e5e46aa5~mv2.png/v1/fill/w_980,h_366,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/672833_73de7e256b534059a9250268e5e46aa5~mv2.png)
Configure the Business Identifiers and and Activite the integration.
![](https://static.wixstatic.com/media/672833_bd6a76c00f824d3abf51cd380a0437bc~mv2.png/v1/fill/w_828,h_538,al_c,q_90,enc_avif,quality_auto/672833_bd6a76c00f824d3abf51cd380a0437bc~mv2.png)
Integration Activated
![](https://static.wixstatic.com/media/672833_203cb5f5974741eaba22fb93bc511140~mv2.png/v1/fill/w_980,h_96,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/672833_203cb5f5974741eaba22fb93bc511140~mv2.png)
Now you can Invoke this from tools like Postman , Additionally from OIC we can test this as shown below.
Pass the Defined Parameters And Hit test.
![](https://static.wixstatic.com/media/672833_9bd63a396797452b83baa61b1f782597~mv2.png/v1/fill/w_980,h_306,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/672833_9bd63a396797452b83baa61b1f782597~mv2.png)
Hope This Helps !
Happy learning.
Comments