Re: Restlet in a webapp

2010-02-10 Thread Tapdur
YE IT WORKS LIKE A CHARM ;-) last error was a mistake in soapUI ;-) one last question, is there an option to make a distinction between /greeting and /greetings in the uriPattern (both match the processor) ? Thx again willem, that made my day loll and i would go further with camel ;

Re: Restlet in a webapp

2010-02-10 Thread Willem Jiang
I think you need to update your client's url. according to the log, it looks like the HttpClient still use the path "/". Willem Tapdur wrote: an other step it works ;-) ... and failed ;-( thx willem, i am near but i still have a problem. when i declare in the spring-bean.xml the route like th

Re: Restlet in a webapp

2010-02-10 Thread Tapdur
an other step it works ;-) ... and failed ;-( thx willem, i am near but i still have a problem. when i declare in the spring-bean.xml the route like that http://camel.apache.org/schema/spring";>--> http://127.0.0.1:9090/?restletMethods=POST,GET"/>-->

Re: Restlet in a webapp

2010-02-09 Thread Willem Jiang
You didn't set the response message for the client. Please check out the camel-restlet unit tests[1] for the working examples. [1]https://svn.apache.org/repos/asf/camel/trunk/components/camel-restlet/src/test/java/org/apache/camel/component/restlet Willem Tapdur wrote: hi willem i get one ste

Re: Restlet in a webapp

2010-02-09 Thread Tapdur
hi willem i get one step forward for restlet engine : i use this dependencies maven-restlet Public online Restlet repository http://maven.restlet.org

Re: Restlet in a webapp

2010-02-09 Thread Tapdur
hi willem i try but in loss 2010-02-09 10:14:29,131 : DefaultPollingConsumerPollStrategy.rollback : Consumer Consumer[http://localhost:9002/poc.camel.enabler-0.0.1-SNAPSHOT/greeting] could not poll endpoint: http://localhost:9002/poc.camel.enabler-0.0.1-SNAPSHOT/greeting caused by: java.net.Conn

Re: Restlet in a webapp

2010-02-08 Thread Willem Jiang
Can you try change the camel-restlet's endpoint uri to use other port ? Willem Tapdur wrote: hi i am trying to use camel-restlet component in a jonas/tomcat j2ee. i am getting mad with restlet depencies, does someone has alreday did that ? i use dependecies org.restlet and org.restlet.ext.serv