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?
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.htmlTo unsubscribe from Sending requests to the Drools Execution Server from an external source, click here.
NAML