Register today for Oracle CloudWorld. October 17th - 20th, Las Vegas

Register now

Hillel Cooperman, Senior VP of User Experience Design, has a message for you on Oracle CloudWorld

Watch now
unable to invoke scheduleService from Object function — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

unable to invoke scheduleService from Object function

Received Response
10
Views
2
Comments
edited Feb 18, 2021 2:50PM in Sales 2 comments

Content

We are using a scheduleService SOAP webservice for schedule Report but unable to call the same from groovy object function with a working payload from SOAPUI. The payload is : https://cccl-test.fa.us2.oraclecloud.com/xmlpserver/services/v2/ScheduleService?WSDL

The error that we are getting is :

Exception in expression "ProgramApprovalInitiate_c" object function getSyncQualifiers() : java.lang.NullPointerException : Cannot invoke method scheduleReport() on null object
at "ProgramApprovalInitiate_c" object function getSyncQualifiers() line 189

where line 189 is the webservice invocation line.

Attached is the groovy script. 

Also, while reading the WSDL there is a warning message :

"The preferred security options could not be determined. Contact your web service provider or consult your web service documentation to obtain the correct security details. If errors occur during service invocation, contact your system administrator with the web service and error details."

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!