You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by afatcat <af...@gmail.com> on 2012/09/22 04:56:04 UTC
How to make restlet work with ServiceMix
I have a sample restlet project that I found here:
http://www.ofbizian.com/2012/02/apache-camel-rest-example.html
I have successfully run with mvn jetty:run. But I have problem when I try to
put this project into ServcieMix.
I have installed the war feature with features:install war
I have install the war with osgi:install -s
war:mvn:org.apache.camel/camel-example-restlet-jdbc/2.10-SNAPSHOT/war?Webapp-Context=app
But when I run the command curl -d "firstName=test&lastName=user"
http://localhost:8181/app/rs/user/, it returns 405. It seems that the
Restlet Servlet setting doesn't work at all.
The version of servicemix I am using is 4.4.2
Have I missed anything? Is there an example of Restlet running on
ServiceMix?
Thanks in advance.
--
View this message in context: http://servicemix.396122.n5.nabble.com/How-to-make-restlet-work-with-ServiceMix-tp5714492.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.