Forum Discussion
FICO
17 years agoCommunity Manager
Deploy Rule Service to TomCat
Deploy Rule Service to TomCat
Hi,
Is is possible to deploy a rule service to TomCat? I don't see an option to generate a WebService for TomCat. The client uses WAS but I don't have the dev kit installed on my laptop and I don't have an instance I can test on. I was hoping that there was a way to deploy the rule service to a copy of TomCat on my desktop so that I can test what I am doing. Is this possible?
Thanks,
Tom
2 Replies
- FICOCommunity ManagerTomcat by itself does not provide out of the box support for web services. You need to use a framework such as Axis with it. I once wrote a quick deployer for Axis by using standard Java quick deployer as a base and adding an "Axis2" client to it (the default client choices are Java and JSP). The new client type generated Axis configuration for exposing rules server Java class as a web service. However, you don't need to write a quick deployer. You can simply generate Java deployment, add config files/annotations to describe rules server class as a web service and then execute Axis tool to generate a web service from it.
- FICOCommunity Manager
Why not consider to compile the rule as .adb file, then deploy your .adb to tomcat server
as a service in different application, so that your main application can call the service.