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
edited Feb 18, 2021 2:50PM in Sales 2 comments


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 :

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.


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