Guvnor exposes its resources (compiled or not) through urls. You can access those urls to get the rules, and add them to a kbase. If that it what you need, then you don&#39;t need execution server at all.<div><br></div><div>

Best, <br><br><div class="gmail_quote">2010/7/3 Premkumar Stephen <span dir="ltr">&lt;<a href="mailto:prem18@gmail.com">prem18@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hi Vignesh,<br><br>Please read Mauricio&#39;s explanation above on when to use.<br>In addition, this approach frees you up from using Drools from only java applications. For instance, we invoke the rules engine from Rails code.<br>


<br>Basically, you need to do the following steps:<br><br>1) Create a xml or json in the prescribed format (format is documented)<br>2) Invoke the drools server URL and pass the data.<br>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)<br>


<br>Currently, only stateless calls can be made. Mauricio is working on a complete rewrite that will allow stateful calls to be made as well.<br><br clear="all">Regards,<br>Prem<div><div></div><div class="h5"><br>
<br><br><div class="gmail_quote">On Fri, Jul 2, 2010 at 11:31 PM, Vignesh <span dir="ltr">&lt;<a href="mailto:viki.ccc@gmail.com" target="_blank">viki.ccc@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">


<br>
Hi Prem,<br>
<br>
I have tried the sample codes available to invoke a rule created in<br>
Guvnor/rules file directly and I am able to do it successfully and I had<br>
tried different stuffs over it. Currently what I am working on is, I need to<br>
invoke the rules via web service and return the values depending upon the<br>
validation to the calling service and use these as response to my further<br>
processing.<br>
<br>
I was able to achieve the same through a bottom up web service/stand alone<br>
program. But earlier I had put a post on how to invoke a rule in guvnor<br>
using web service, I got some reply saying I can use Execution server for<br>
this purpose and I just started trying it with out much idea on it and got<br>
stuck up.<br>
<br>
Thanks,<br>
Viki<br>
<font color="#888888">--<br>
View this message in context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Execution-Server-and-Guvnor-tp933786p940081.html" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Execution-Server-and-Guvnor-tp933786p940081.html</a><br>



</font><div><div></div><div>Sent from the Drools - User mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="https://mail.google.com/mail?view=cm&amp;tf=0&amp;to=rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br>
</div></div><br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br><br>Esteban Aliverti<br>
</div>