I am attempting to setup the latest version of Drools Server. The sample on the website uses a jsp to forward an xml request to the same server the jsp is running on (using a camel-client.xml.) I am unclear what the camel-client.xml is actually responsible for doing. <div>
<br></div><div>Is this camel-client.xml configuration necessary if you want to send fully formed requests in xml to the server? I have tried to set this up, but, for example, by doing something like this:<div><br></div><div>
curl --data "<batch-execution lookup="ksession1"> <insert out-identifier="message"><org.test.Message><text>msg</text></org.test.Message></insert></batch-execution>" <a href="http://localhost:8080/drools-server/kservice/kservice/rest">http://localhost:8080/drools-server/kservice/kservice/rest</a></div>
<div><br></div><div>but the tomcat log just shows this:</div><div><br></div><div><div>Oct 21, 2010 4:10:55 PM org.apache.cxf.jaxrs.utils.JAXRSUtils findTargetMethod</div><div>WARNING: .No operation matching request path / is found, HTTP Method : POST, ContentType : application/x-www-form-urlencoded, Accept : */*,.</div>
<div>Oct 21, 2010 4:10:55 PM org.apache.cxf.jaxrs.impl.WebApplicationExceptionMapper toResponse</div><div>WARNING: WebApplicationException has been caught : no cause is available</div><div><br></div><div>Does anyone know how to set this up properly?</div>
<div><br></div><div>Thanks, </div><div>Jeff</div><div><br></div></div></div>