Wrong forum :).
If you want to invoke GUVNOR REST Services using java, I would recommend
you to use Apache Abdera. If you want to see some examples, you can take a
look at Guvnor's tests (specially those using Abdera :P):
-
https://github.com/droolsjbpm/guvnor/blob/master/guvnor-webapp-drools/src...
-
https://github.com/droolsjbpm/guvnor/blob/master/guvnor-webapp-drools/src...
If you want to use Grails, then I don't know :) But in the worst case,
invoking REST can be achieve by some simple steps in any platform:
- Create a HTTP Request pointing to the REST method you want (read
Guvnor's manual to see all the different URLs you have)
- Invoke the Request
- Read the Response
- Parse the Response
Of course is much more helpful to have a library that already do all these
steps for you :)
Best Regards,
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Esteban Aliverti
- Developer @
http://www.plugtree.com
- Blog @
http://ilesteban.wordpress.com
On Wed, Jan 11, 2012 at 7:46 PM, kavita <kavithasethu(a)gmail.com> wrote:
Hi,
Can any one provide a simple example of how to use Rest API in java/Grails
?
Thanks,
Kavitha.
--
View this message in context:
http://drools.46999.n3.nabble.com/Drool-Rest-API-Example-tp3651460p365146...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users