Calling BIP Webservice From An Action Results In Error
(Doc ID 2492685.1)
Last updated on DECEMBER 22, 2020
Applies to:
Oracle Fusion Sales Cloud Service - Version N/A and laterInformation in this document applies to any platform.
Goal
I have followed the Doc ID 2150332.1 to calling BIP web service. However, I got the message once submit it:
Exception in expression "ReceivableBalance_c" object function eee() : java.lan-g.NullPointerException : Cannot invoke method runReport() on null object
at "ReceivableBalance_c" object function eee() line 9
Steps to reproduce the issues:
1. Register web service in Application Composer
2. Create an Action in Application Composer > Actions and Links under Custom Object
3. Create script submit Web service for the Action (step 2)
4. Add Action to page
5. Go to page and click button --> error message is show
Groovy script:
def reportRequest =
[
byPassCache :true,
flattenXML :false,
reportAbsolutePath :'/Shared Folders/KPMG Application Core Objects/Reports/XX Receivable Balance.xdo',
sizeOfDataChunkDownload :2000,
]
def report = adf.webServices.PublicReportService.runReport(reportRequest, 'ng','**********');
println(report);
println('test in report');
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Goal |
Solution |
References |