How to submit BI Report Online using Web Service
As REST APIs are under
controlled availability and most of the SOAP services are deprecated, to get
data from Oracle Cloud in real time could be a challenging task. An alternate solution is to build a BI report using data model and submit this report using
Web Service to get the result in near real time.
Steps:
1. Create a Data Model
and report in BI. Use SQL query to fetch data as per requirement.
2. Invoke SOAP Service.
WSDL:
Operation name =
runReport
Request:
<soapenv:Body>
<v2:runReport>
<v2:reportRequest>
<v2:byPassCache>true</v2:byPassCache>
<v2:flattenXML>true</v2:flattenXML>
<v2:reportAbsolutePath>/Custom/MyTestReport.xdo</v2:reportAbsolutePath>
</v2:reportRequest>
<v2:userID>user</v2:userID>
<v2:password>********</v2:password>
</v2:runReport>
</soapenv:Body>
Response:
The response is Base64 encoded output which needs to be decoded.
I think there is a need to provide some more information about Power BI,Soap and its related aspects.
ReplyDeletePowerbi Read Soap
I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. In fact your creative writing abilities has inspired me to start my own BlogEngine blog now. Really the blogging is spreading its wings rapidly. Your write up is a fine example of it.
ReplyDeletepowerbi read rest
I'm getting one record only
ReplyDelete