It's using the deprecated pipeline api, but the msg content is still applicable and should give you plenty of examples: https://github.com/droolsjbpm/droolsjbpm-integration/blob/master/drools-pipeline/src/test/java/org/drools/runtime/pipeline/impl/JSonBatchExecutionTest.java
Mark On 21/04/2011 21:25, fulton wrote: > I have deployed Drools Server 5.1.1 on Tomcat and have successfully tested it > with the sample Test.jsp and with a raw XML<batch-execution> request via > TCPMON. However, I need to support JSON-based requests to the server, and I > have been unable to find any documentation or examples on how to specify a > valid JSON request to the server. Would someone please translate the sample > XML request to a JSON request that actually WORKS on the Drools Server. > > <batch-execution lookup="ksession1"> > <insert out-identifier="message"> > <org.test.Message> > <text>Hello World</text> > </org.test.Message> > </insert> > </batch-execution> > > BTW, I am behind a corporate proxy, so I cannot access certain web sites > (including plugtree.com!), but go ahead and point me to the "proper" > documentation for this, if any. > > Thanks so much! Fulton > > -- > View this message in context: > http://drools.46999.n3.nabble.com/Need-JSON-request-for-Drools-Server-tp2848527p2848527.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users > > _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
