Hi,
I built web service client in JAVA and trying to call this web service client java method from Service task. My java class implements "JavaDelegate" interface and implements "execute()" method. I copied web service client code below.
public class CheckLeaveWSClient implements JavaDelegate {
public void execute(DelegateExecution execution) throws Exception {
GetNoOfDaysProxy daysProcxy = new GetNoOfDaysProxy();
StringHolder cname = new StringHolder("Ram");
try{
String result = daysProcxy.processLeave(cname);
System.out.println(result);
}
catch(Exception e){
e.printStackTrace();
}
}
}
I deployed the activiti process into activiti explorer. I am getting "couldn't instantiate class CheckLeaveWSClient" message in Activiti Explorer. This message is coming when Activiti engine tries to execute Service task. Please help me to fix this issue. Also I attched the bpmn file and log file (taken from tomcat) for your kind reference.
Thanks and Regards,
Rajendiran R