Sorry I could not be of more help.<br>I have only played with Guvnor with existing default server settings.<br><br clear="all">Regards,<br>Prem<br>
<br><br><div class="gmail_quote">On Sun, Jun 21, 2009 at 9:27 AM, tanzu <span dir="ltr">&lt;<a href="mailto:tanu421@rediffmail.com">tanu421@rediffmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br>
Dear prem<br>
<br>
Entire day I struggled ,but in vain.Please help.I downloaded the<br>
drools-5.0.1 CR1 war and ,removed el-api .jar as I am using Tomcat 6X.Even<br>
added the required jsf ,jars as mentioned in<br>
<br>
<a href="http://www.jboss.org/community/wiki/JBRMSjsfdependencies" target="_blank">http://www.jboss.org/community/wiki/JBRMSjsfdependencies</a><br>
<br>
I have myeclipse 6.5  ,with eclipse 3.3 bundled with it.I added drools5.0.0<br>
eclipse-all plugin in the plugin folder of eclipse.I was able to create a<br>
repoistory location ,but when the location was formed ,the packages below it<br>
are not visible to me.<br>
<br>
Guvnor connection wizard is completed, but the new Guvnor repository<br>
connection does not appear in the Guvnor Repository Explorer. I cannot<br>
expand the tree to view Guvnor repository contents.I access internet through<br>
a proxy.<br>
<br>
I even tried adding the drools5.0.0 eclipse-all plugin in eclipse 3.4 . Same<br>
problem like above.<br>
<br>
Am I missing some configuration settings,for my tomcat in the<br>
drools-guvnor.war.<br>
<br>
I have not read about guvnor.And the link you sent is also with guvnor.<br>
<br>
Do you have any reference ,where guvnor is not used ,just simple drl files<br>
in the drools execution server ,with how is the xml data sent from the<br>
client to the server.<br>
<br>
Really in a big mess.Deadline too close.Just 2 more days.<br>
<br>
<br>
Please help<br>
<br>
Regards<br>
Tanzu<br>
<div><div></div><div class="h5"><br>
pkpkpkpk wrote:<br>
&gt;<br>
&gt; Mark has provided the elegant way to do it. However, as a newbie, it can<br>
&gt; be<br>
&gt; done simpler without using this API for stateless rules,.<br>
&gt; In this JIRA, <a href="https://jira.jboss.org/jira/browse/GUVNOR-354" target="_blank">https://jira.jboss.org/jira/browse/GUVNOR-354</a>, you will find<br>
&gt; complete working examples.<br>
&gt;<br>
&gt; This has a ruby file, which invokes the webservice --&gt; easily doable in<br>
&gt; struts<br>
&gt; It uses json format - you could pass in the xml format as well.<br>
&gt;<br>
&gt; You don&#39;t have to use Guvnor, its just that Guvnor has tooling that<br>
&gt; creates<br>
&gt; the packaging (.pkg files) , snapshots, etc and it is easier.<br>
&gt; You can skip Guvnor ( I just have&#39;nt tried it).<br>
&gt;<br>
&gt;<br>
&gt; Regards,<br>
&gt; Prem<br>
&gt;<br>
&gt;<br>
&gt; On Thu, Jun 18, 2009 at 9:05 AM, tanzu &lt;<a href="mailto:tanu421@rediffmail.com">tanu421@rediffmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt; My requirement is to expose drools rules as a web service ,which can be<br>
&gt;&gt; accessed by any kind of client including .net .I have built a struts<br>
&gt;&gt; based<br>
&gt;&gt; web application.When the user submits the struts client should be able to<br>
&gt;&gt; submit the data ,to the web service ,which will execute the rule engine<br>
&gt;&gt; ,and<br>
&gt;&gt; fire all rules ,and send a response back to the client.You said it<br>
&gt;&gt; correctly<br>
&gt;&gt; the drools execution server can suffice my need.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; My doubts are<br>
&gt;&gt; 1.Is it possible that I dont use guvnor ,and instead use just the drools<br>
&gt;&gt; expert with drl files with the execution server.<br>
&gt;&gt; 2.The data from the struts client should be converted into xml ,fact<br>
&gt;&gt; object<br>
&gt;&gt; and sent to the server to be used in the rules.Am I thinking right.<br>
&gt;&gt;<br>
&gt;&gt; A sample code showing how the client ,sends xml data to server ,and the<br>
&gt;&gt; response sent back to the client ,will be very helpful to me.<br>
&gt;&gt;<br>
&gt;&gt; Please help.I have a deadline.:-(<br>
&gt;&gt;<br>
&gt;&gt; tanzu<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; pkpkpkpk wrote:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Using the Drools execution server, the rules engine can be exposed as a<br>
&gt;&gt; &gt; web<br>
&gt;&gt; &gt; service.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; In<br>
&gt;&gt; &gt;<br>
&gt;&gt; <a href="http://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/drools-guvnor/html_single/index.html" target="_blank">http://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/drools-guvnor/html_single/index.html</a><br>


&gt;&gt; ,<br>
&gt;&gt; &gt; check out section 1.4.7.2<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; The web service can be invoked using JSON or XML, so, it is possible to<br>
&gt;&gt; &gt; invoke it from any client.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Regards,<br>
&gt;&gt; &gt; Prem<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On Sun, Jun 14, 2009 at 6:45 AM, tanzu &lt;<a href="mailto:tanu421@rediffmail.com">tanu421@rediffmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Can the drools rule engine ,be exposed as a web service or do we need<br>
&gt;&gt; to<br>
&gt;&gt; &gt;&gt; write a web service and make an explicit call to rule engine ,using<br>
&gt;&gt; the<br>
&gt;&gt; &gt;&gt; working memory.<br>
&gt;&gt; &gt;&gt; Is it possible for a .net application to invoke drools rule engine.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Please help as I am a newbie<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Thanks<br>
&gt;&gt; &gt;&gt; tanzu<br>
&gt;&gt; &gt;&gt; --<br>
&gt;&gt; &gt;&gt; View this message in context:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; <a href="http://www.nabble.com/Exposing-the-rule-engine-as-a-web-service-to-be-accessed-by-the-client-tp23961020p23961020.html" target="_blank">http://www.nabble.com/Exposing-the-rule-engine-as-a-web-service-to-be-accessed-by-the-client-tp23961020p23961020.html</a><br>


&gt;&gt; &gt;&gt; Sent from the drools - user mailing list archive at Nabble.com.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; _______________________________________________<br>
&gt;&gt; &gt;&gt; rules-users mailing list<br>
&gt;&gt; &gt;&gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt;&gt; &gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; rules-users mailing list<br>
&gt;&gt; &gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt;&gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; View this message in context:<br>
&gt;&gt; <a href="http://www.nabble.com/Exposing-the-rule-engine-as-a-web-service-to-be-accessed-by-the-client-tp23961020p24092604.html" target="_blank">http://www.nabble.com/Exposing-the-rule-engine-as-a-web-service-to-be-accessed-by-the-client-tp23961020p24092604.html</a><br>


&gt;&gt; Sent from the drools - user mailing list archive at Nabble.com.<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; rules-users mailing list<br>
&gt;&gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt;&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; rules-users mailing list<br>
&gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt;<br>
&gt;<br>
<br>
--<br>
</div></div>View this message in context: <a href="http://www.nabble.com/Exposing-the-rule-engine-as-a-web-service-to-be-accessed-by-the-client-tp23961020p24134431.html" target="_blank">http://www.nabble.com/Exposing-the-rule-engine-as-a-web-service-to-be-accessed-by-the-client-tp23961020p24134431.html</a><br>


<div><div></div><div class="h5">Sent from the drools - user mailing list archive at Nabble.com.<br>
<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>
</div></div></blockquote></div><br>