Professional Documents
Culture Documents
How To Convert OTBI Report Into XML Output - HYR Global Source Blog
How To Convert OTBI Report Into XML Output - HYR Global Source Blog
MENU
The purpose of the document is to provide the steps to invoke OTBI report through Oracle
Integration Cloud Service (ICS/OIC) and convert the response into XML format.
WSDL: – https://ERPInstanceURL/analytics-ws/saw.dll/wsdl/v7
3. In the connection Properties, click on ‘Configure Connectivity’ and add the Service WSDL
URL.
4. In the Security panel, click on ‘Configure Security’ and add the ERP UI Username,
Password of the ERP user.
5. Click on ‘Test’ and then click on ‘Validate and Test’.
Navigate to Integrations and click on ‘Create’. Select the Orchestration style in the pop up.
1. Select the ‘Schedule’ type trigger for the integration. Enter the Name of the integration
and click on ‘Create’.
2. Drag and drop the ‘AnalyticsWebService’ connection created in the previous steps after
the ‘Schedule’.
3. Enter the name of the activity and click ‘Next’. To run the OTBI report we first need to get
the Session ID from a ‘SAWSessionService’ Operation in the same web service.
4. In the Operations page select ‘SAWSessionService’ under Service dropdown and select
‘Logon’ under the Operations dropdown.
Keep clicking ‘Next’ until the summary and then click ‘Done’.
5. Once you click ‘Done’, the SOAP service is displayed under ‘Schedule’ along with mapping
activity. Click on the Map activity and click on the ‘Edit’ symbol.
6. In the Map activity enter the ERP UI username and password. Click Validate and then
‘Close’.
7. Drag the same connection as in ‘Step 2’. Select ‘XMLViewService’ under Service
dropdown and select ‘executeXMLQuery’ under the Operations dropdown.
Follow the similar steps mentioned in Step 4, 5 and open the map activity.
8. In the Map activity under ‘Report Path’ enter the OTBI report path. Map the SessionID
from source with SessionID in Target and click ‘Validate’.
9. Click ‘Validate’ and then ‘Close’ in the Map Activity. Click on ‘Save’ and then ‘Close’.
10. Now, in the integrations page locate ‘OTBI_Report_Integration’ and click on ‘Switch to
Activate’ to activate the integration.
11. In the pop-up check both ‘Enable Tracing’ and ‘Include Payload’. Click on Activate once
you check both the check boxes.
12. Click on the ‘Menu’ and click on ‘Submit Now’. In the Monitoring section, select the
integration which we have submitted and click on it.
13. Once the integration is opened, click on the ‘menu’ and click on ‘Activity Stream’.
14. Expand the ‘ExcuteXMLQuery’ response payload. You can see that the data fetched is
‘String’ and you will find the ‘<’ character in between data.
2. Specify the name of the activity in the first step and click on ‘Next’.
3. Select ‘Write File’ in the Stage File Operation field. Now specify the name and directory of
the file where we want to write the OTBI response in ‘.xml’ format
5. Now upload the ‘Opaque.xsd’ file from your local. This file has format such that it
converts the received data into proper string. Please find xsd file below.
Click on ‘Next’ and ‘Done’. Open the mapper which was created for the ‘Stage Write’ activity.
6. Map the ‘Rowset’ from source to ‘OpaqueElement’ in the target and click on ‘Validate’.
7. Export the integration from to ICS to local system. Rename the downloaded ‘.iar’ file to
‘.zip’.
8. Unzip the renamed file and search for ‘.xsl’ files. There are 3 files as there are 3 mapper
activities in our integration.
9. Open these files and one of these files will contain the source and target of the ‘Stage
Write’ activity.
Replace the ‘Value-of’ function to ‘Copy-of’ function and add ‘oraext:parseXML’ before the
‘Source’ mapping as below and save the file.
10. Save the ‘.xsl’ file after making the changes and rename the file back to ‘.iar’.
11. Import this file to ICS instance. Activate the integration and submit it with both ‘Trace’
and ‘Payload’.
12. Navigate to monitoring and navigate to the submitted Run and open the activity stream
like step 13 in section-3.
13. We can notice that the ‘<’ text is not present under the ‘Stage Write’ activity payload
and the data is now in proper ‘xml’.
Posted in: Oracle Cloud HCM • Tags: Calling OTBI report from OIC
Prev
Why and How to create Desktop PWA
Next
Advanced ReactJS Interview Questions
Leave a Reply
Your email address will not be published. Required fields are marked *
Comment
Name *
Email *
Website
Save my name, email, and website in this browser for the next time I comment.
POST COMMENT
Search …
React Jobs
Oracle Jobs
Recent Posts
How to Automate the Oracle ERP Cloud FBDI process using OIC
Archives
June 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
Categories
angular
css
GraphQL
html
Node
React
Web Development
Meta
Log in
Entries RSS
Comments RSS
WordPress.org