Usecase: Here, we will invoke the OTBI report from OIC integration and save the xml report to a ftp location.
OTBI webservice:
https://<fusion_instance/analytics-ws/saw.dll/wsdl/v12?wsdl
Steps to follow:
- First create a SOAP invoke connection using above wsdl with security user name and password.
- Take a scheduled or app driven integration and create schedule params for Logon user, password etc.
- Drag and drop created soap connection and configure for SAWSessionService >> logon operation >> provide logon user name and password >> it will give session id as output.
- Drag and drop created soap connection and choose XMLViewService >> choose executeXMLQuery operation >> provide following information as input:
- Session id , which we received from previous step.
- Variable name value pair if any parameter to pass
- Report path : which we will get form the report >> more >> properties >> Location and name. For example if location: /shared/Custom and name: XXOTBIMultiParam then report path will be : shared/Custom/XXOTBIMultiParam
- Execute options
- Async : true
- Maxrowsperpage: 10
- Refresh: false
- PresentationInfo: false
- Type: 1
- We get the ouput in CDATA xml format as response
- Take a stage and opaque schema to write the xml string as a xml file. In mapper, map the encodeBase64 data of rowset
- Take another stage and otbi response schema to read the xml file from the stage write filereference.
- Configure ftp adapter and write the file using a target schema or csv file.
- Map the read xml contents to target xml file.