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