What's new in Customer Journeys?

Connect and learn more! ×
Calling a web service from Groovy script — 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

Calling a web service from Groovy script

Accepted answer


Dear All,

I'm trying to call web service from the default value option in the DFF, but I'm facing an error while saving the DFF.


, I'm facing the same error while I'm calling the web service in the (configure business object ) in the validation function.

below are the screenshots for all places and error

JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=Cannot invoke method POST() on null object RootCause Exception message : Cannot invoke method POST() on null object Call Stack: org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:91) org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:43)  

Howdy, Stranger!

Log In

To view full details, sign in.


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