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(a)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-Executio...
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=...
.
NAML<http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=...
--
View this message in context:
http://drools.46999.n3.nabble.com/Sending-requests-to-the-Drools-Executio...
Sent from the Drools: User forum mailing list archive at
Nabble.com.