Please read Mauricio's explanation above on when to use.
In addition, this approach frees you up from using Drools from only java
applications. For instance, we invoke the rules engine from Rails code.
Basically, you need to do the following steps:
1) Create a xml or json in the prescribed format (format is documented)
2) Invoke the drools server URL and pass the data.
3) The rules engine ( if deployed from guvnor, will be running at the port
-- check this from guvnor) - will provide you an answer, which you need to
parse back ( from xml or json)
Currently, only stateless calls can be made. Mauricio is working on a
complete rewrite that will allow stateful calls to be made as well.
On Fri, Jul 2, 2010 at 11:31 PM, Vignesh <viki.ccc(a)gmail.com> wrote:
I have tried the sample codes available to invoke a rule created in
Guvnor/rules file directly and I am able to do it successfully and I had
tried different stuffs over it. Currently what I am working on is, I need
invoke the rules via web service and return the values depending upon the
validation to the calling service and use these as response to my further
I was able to achieve the same through a bottom up web service/stand alone
program. But earlier I had put a post on how to invoke a rule in guvnor
using web service, I got some reply saying I can use Execution server for
this purpose and I just started trying it with out much idea on it and got
View this message in context:
Sent from the Drools - User mailing list archive at Nabble.com
rules-users mailing list