How to call BIP Report from Oracle Integration Cloud (OIC)?



  • Create a BIP report. Click here to view the steps
  • Open the report and save the report in a sample.csv file





  • Open OIC Instance and go to Integrations -> Connections

  • Click on Create button on Top Right corner and select SOAP adapter

  • Enter the Name, select Role as Invoke and give it a description. Click on Create once done.
  • Enter the below details:
        WSDL URL: https://<hostname>.oraclecloud.com/xmlpserver/services/ExternalReportWSSService?WSDL

Security Policy: Basic Authentication and give Username & Password
  • Click on Test and then click Validate and Test




  • Click on Save button once done. You connection tested successfully and now is ready to be used in integrations.
  • Go to integrations and click on Create button to create new integration
  • Select the integration type as App Driven Orchestration

  • Give the integration name and click Create button



  • Add a new REST type trigger as starting point of your integration

  • Enter the name of your endpoint and click Next

  • Enter the resource relative URI, enable parameters for the endpoints and check the option to enable end point receive the response. Click Next button.



  • Add query parameters pVendorNum

  • Enter the JSON as inline:
{
  "VendorId" : "",
  "VendorName" : "",
  "VendorNumber" : ""
}


  • Click on Done


  • Add "EXTERNAL_REPORT_SERVICE_CONN" that we created earlier:


  • Enter the endpoint name


  • Select the operation "runReport"


  • Click Next button


  • Click Done button


  • Integration will look like below:

  • Edit the CallBIPReport Mapper and perform the below mapping:
  • SizeOfDataChunkDownload as "-1"


  • ReportAbsolutePath as "/Custom/Sample/TestReport.xdo"

  • Parameter Name as "p_vendor_number"

  • Add mapping for parameter values

  • Add mapping for attributeFormat also, which is csv in our case

  • View code of mapping:



  • Now add assign activity


  • Name it DecodeReportBytes


  • Use decodeBase64ToReference to decode report bytes to reference type. Click on Validate and then Close button



  • Add stage file action

  • Give it a name "ReadDecodedBytes"

  • Choose File Operation as "Read Entire File
  • Set Configure File Reference as "Yes"

  • Specify file reference as below


  • Select structure of file content as Sample delimited document (e.g. CSV)

  • Choose the sample file and give Record and RecordSet names:


  • Click Done button



  • Edit the mapper for GetInput


  • Add the tracking variable


  • Activate and test the integration now


Comments

All Categories

Call Fusion BIP Report2 Change Password1 Code Combinations2 Compute Instance2 CTE1 Customer1 Data Aggregation2 Database5 Date Conversion1 DB Adapter2 Decryption1 Development1 EBS4 Encryption1 ESS Jobs3 Examine1 FBDI3 Fusion APIs1 Fusion BIP7 GIT2 GL3 GL Journals1 GL_DAILY_CONVERSION_TYPES1 GL_DAILY_RATES1 ICS1 Identity Domain1 Integrations1 Java1 Journal Import1 Keys1 Legal Entity1 LookupTypeLOV1 LOV1 LOVs1 MultiPartAPIs1 Networking1 NVL2 NVL in OIC2 OCI11 OCI Billing1 OCI Compute5 OCI Cost Management1 OCI Events Service1 OCI Free Tier3 OCI Notifification Service1 OCI Security3 OIC4 OIC Mapper2 Oracle26 Oracle ADF17 Oracle APEX1 Oracle Apps59 Oracle Apps R126 Oracle ATP1 Oracle BIP8 Oracle Cloud12 Oracle Cloud Free Tier1 Oracle cloud Infrastructure9 Oracle Cloud Security2 Oracle Cloud VM1 Oracle DB4 oracle ebs5 Oracle ERP4 Oracle ERP Adapter2 Oracle ERP Cloud7 Oracle financials2 Oracle Forms1 Oracle Fusion57 Oracle Fusion BIP4 Oracle Fusion ERP17 Oracle Fusion Financials18 Oracle Integration Cloud3 Oracle OAF17 Oracle OCI14 Oracle OIC22 Oracle SOA 12c10 Oracle SQL17 Oracle VBCS1 Oracle VBS2 Oracle Visual Builder Cloud Service1 Oracle Visual Builder Studio2 Oracle Workflow Notifications1 Others10 Payables2 Payables Import1 Properties1 R121 Register BIP as ESS Job1 Reset Password1 Responsibility1 REST4 Security List1 Site Map1 SOAP2 SOAP API2 SOAP UI3 SQL16 SQL Functions3 SQL Queries14 SQL Query8 SQL Tips3 SSH1 TCA1 Value Sets1 VBCS1 Virtual Machine2 Virtual Machines1 XML1 XSLT1
Show more