How does K2 integrate with Java ?, K2java Integration
The content of this article comes fromK2 community
Problem: We know that K2 is based on the. net platform. We need to integrate Java platform forms with K2 and use K2. What are the solutions and suggestions?
Expert answers:
This requirement is also common. Here are some of my experiences:
1. K2 is a process platform that provides interfaces in various forms. Official default APIs include DLL, Webservice SOAP interface, WCF interface, and REST interface. I want Java to call Webservice. There is no problem with the REST interface. You can even reference the DLL and encapsulate it into your own Webservice to provide Java with unified interface services.
2. the form must interact with K2. There are only several API interfaces, such as initiating a process, obtaining a list of users' agent work items, performing approval to-do items, to-do Redirect, Delegate, out-of-Office automatic transfer and other interfaces, these native are provided.
3. if the K2 platform is integrated with Windows AD, you must transmit the user login information when calling the interface. I do not know how to perform Windows authentication for JAVA forms, if the authentication fails, use the account connection string of the administrator of K2 to simulate the end user.
4. If AD is not used, you can use SQLUM (SQL User Manager, User information and password stored in the K2 database) to avoid any problems.
To learn more about the technical issues, please go to the K2 community to see the experts.