ID Provider Driver integration with Userapplication

Hi,

I’m getting the following error when i tried to deploy the solution for the IDprovider in the workflow
We are using Web logic to host the userapplication

2018-05-10 23:25:27,778 ERROR [RBPM] [com.novell.soa.af.impl.activity.ActivityNode:handleException] Error Evaluating Script Error Evaluating Script com.novell.soa.script.mozilla.javascript.EcmaError: TypeError: getNextID is not a function.
2018-05-10 23:25:27,779 ERROR [RBPM] [com.novell.soa.af.impl.LogEvent:logError] [Workflow_Error] Initiated by cn=jimmy.john,ou=People,o=Event, Error Message: Dataitem [MAP0] with expression [BuildDN();^M
function BuildDN() {^M
var idpip = “180.23.20.47”; // Read the DS GCV for the IP^M
var idpp = 1199; // Read the DS GCV for the Port^M
var ue = Packages.com.novell.idm.idprovider.IDClient.getNextID(idpip,idpp,’AccessID’,’ID-Provider Driver’,’3′); // (ip, port, policy, client-id, trace)^M
return ue; //return DN^M
}] failed to evaluate.

What may be the issue?
Do we need to do a restart of the weblogic instance?

Thank in advance,
Agnel