Oracle Business Intelligence 11g -Version 11.1x and higher
The information in this document applies to any platform
You can request the source code of the application HERE, reference this BLOG entry
As a first step, we need to identify the URL (endpoint) where BI Publisher exposes operations for interaction with reports. For example, in our installation 12c, the URL we will use is the following:
http://[host]:[port]/xmlpserver/services/v2/ReportService?WSDL
You can validate the availability of the service from any browser. The following result is obtained:
For our execution, we will use the method runreport
From Jdeveloper once a project has been created, we select New-> Business level -> Web services -> Proxy web service as follows:
We write the address of our WSDL
http://[host]:[port]/xmlpserver/services/v2/ReportService?wsdl
We write the package names and the types generated for our service
We accept the following options: Service URL, We do not generate asynchronous methods, We do not generate OWSM policies, no handlers are specified and finally we validate the generation of the component:
Our web project will have a structure as follows:
We select the parameters for the execution of the report and start the operation:
We see the report in the required format (PDF):
You can request the source code of the applicationHERE,reference this BLOG entry
Written by AB