Forum Discussion
FICO
7 years agoCommunity Manager
How to invoke other project rule service from one project rule service.
Blaze Repository (java) is having 2 projects with same entry point function and plan is to deploy them as Java POJO Web Service either with one end point url OR with two end point urls.
Requirement is to invoke 2nd project rule service at the end of 1st project (rule flow/rule service) execution. Can somebody advise how to achieve this?
1 Reply
- FICOCommunity Manager
The best practice would be to avoid having services that explicitly call to each other and use the external execution structure be in charge of calling one service and then the next. But if you want to have one service call the other directly, you would need to wrap 2nd project execution within a Java class, and import that class into the 1st project so that you can call a method of that class to execute the 2nd project. It should just require some small Java coding work to do the wrapping of the web service call.
