Hi,

I have been trying to invoke a REST service in one of my bluperint XML. I am
getting an HTTP 405 exception.

I have deployed my REST service project in tomcat server. 

In Blueprint I am trying to access like this.

<from uri="jetty:http://localhost:9000/services/hello"/>
        <setHeader headerName="CamelHttpMethod">
            <constant>POST</constant>
        </setHeader>
<to uri="http://localhost:8080/RestCRUD/rest/todos/1?bridgeEndpoint=true"/>

When I hit this source URL, http://localhost:9000/services/hello, I am
getting an HTTP 405 Exception (which is method not allowed error). 

Could someone tell me what I am missing here. Are there any specific tags to
use to invoke a REST service. ?

Thanks in Advance
Pradeep



--
View this message in context: 
http://servicemix.396122.n5.nabble.com/Invoking-REST-service-in-Blueprint-tp5714501.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to