All,

 

I have installed Drools Execution Server and try to figure out how to use execution server as stateless web service. I have a few questions:

 

1)      I checked out the all examples in the document. I didn’t see any examples using RestFul web service. Is there any example out there?

2)      By looking at the Sample request content and response content, I cannot figure out what this example tries to tell us. Detail explanation would be really appreciated, especially for new user.

3)      In the example, which part works as ’fact Model’ (inOutFacts, inFacts), the data we try to apply rule on? What is inFacts used for?

4)      If I only need to apply rule to a single object, how do I use restful web service? For example, I  have an object Model

 

   Person {

firstName

LastName

Gender

}

 

My rule is to check the first name. If first name is “Jenny”, set gender to “F” and return the Person Object.  How can I use Drools Execution Server to do that? (Of cource I have to deploy knowledgebase generated from Guvnor first).

 

Thanks,

Tony


CONFIDENTIALITY NOTICE: The information in this electronic transmission and any documents accompanying it may contain confidential and privileged information intended for use by the individual or entity that is the intended recipient. If you have received this message in error or due to an unauthorized transmission or interception, please delete all copies from your system without disclosing, copying, or transmitting this message and notify us by telephone 877TELLUS9 or by electronic mail servicecomments@progressive-medical.com.