temenos-quantum

where can I download kony middleware file?


I would like to connect kony to Java, and it is said to use an interface called 'JavaService'. But I can't find it from anywhere. Is there anyone who can help me out?

Below is my code for test.

public class HelloWorld implements JavaService2 {


@Override
public Object invoke(String methodId, Object[] maps, DataControllerRequest req,
  DataControllerResponse res) throws Exception {

  return sendMessage();
}// invoke

public Result sendMessage() {
  Result result = new Result();

  result.addParam(new Param("msg", "Hello Kony!"));
  System.out.println("sendMessage - Hello World!");

  return result;
}// sendMessage

}// class

Solution

  • You need to implement JavaService interface. see how to implement java service

    The dependency files are present inside middleware-system.jar
    This jar is present inside your middleware.war file

    Please let me know if you have more question
    Thanks