Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Introduced in v5, the API Domain Whitelist setting in General Settings needs to be configured to allow JSON API requests. If a request is from a non-whitelisted domain, the response will be a HTTP 400 Bad Request.
Used to provide additional HTML page or Web Service for AJAX call for the system.
A usable Web Service Plugin need to extends org.joget.plugin.base.ExtDefaultPlugin abstract class and implements org.joget.plugin.base.PluginWebSupport interface.
Web Service Plugin can be any plugin from other plugin types which implemented org.joget.plugin.base.PluginWebSupport interface.
Under wflow-plugin-base module
Interface for Web Service Plugin
public void webService(javax.servlet.HttpServletRequest request, javax.servlet.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
Work similar to a Servlet.
http:
//localhost:8080/jw/web/json/plugin/org.joget.sample.lib.SimpleFormElement/service?say_something=Hello World
http:
//localhost:8080/jw/web/json/app/crm/1/plugin/org.joget.sample.lib.SimpleFormElement/service?say_something=Hello World
AppDefinition appDef = AppUtil.getCurrentAppDefinition();
Does not support.