[rules-users] Sending requests to the Drools Execution Server from an external source

JeffMax jeffmax at gmail.com
Fri Jan 6 13:51:56 EST 2012


I am not sure, have you looked in the log file of the drools server
(catalina.out if you are running on tomcat)? Also have you configured the
server to consume JSON rather than XML?


On Fri, Jan 6, 2012 at 1:26 PM, kofibentum [via Drools] <
ml-node+s46999n3638561h69 at n3.nabble.com> wrote:

> Thanks a lot for your post. It works for me. But why does curl not return
> any message when I post the folowing json formatted command:
>
>  curl  -v -H "Content-Type: text/plain" --data
> "{\"batch-execution\":{\"commands\":[{\"insert\":{\"out-identifier\":\"message\",\"object\":{\"org.test.Message\":{\"text\":\"Hello\"}}}},{\"fire-all-rules\":\"\"}]}}"
> http://localhost:8080/drools-server/kservice/rest/execute
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://drools.46999.n3.nabble.com/Sending-requests-to-the-Drools-Execution-Server-from-an-external-source-tp1776466p3638561.html
>  To unsubscribe from Sending requests to the Drools Execution Server from
> an external source, click here<http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1776466&code=amVmZm1heEBnbWFpbC5jb218MTc3NjQ2NnwxNDc1NzMzMzc4>
> .
> NAML<http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>


--
View this message in context: http://drools.46999.n3.nabble.com/Sending-requests-to-the-Drools-Execution-Server-from-an-external-source-tp1776466p3638618.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20120106/9dcef083/attachment.html 


More information about the rules-users mailing list