Hello,

I am working on some web services using apache camel. When i call my
particular web service without path parameter URL like
"http://localhost:8080/abc/xyz"; with OPTIONS method, its working fine and
giving me Headers response some thing like below:

Accept →*/*
Accept-Encoding →gzip, deflate, sdch
Accept-Language →en-US,en;q=0.8
Allow →GET, HEAD, POST, PUT, DELETE, OPTIONS
Connection →keep-alive
Content-Length →0
Origin →chrome-extension://fhbjgbiflinjbdggehcddcbncdddomop
Postman-Token →e3ea27f7-9551-685c-6280-ecbbd4a0db94
Server →Apache-Coyote/1.1
User-Agent →Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/50.0.2661.94 Safari/537.36
breadcrumbId →ID-THRL0251-51171-1462880064900-0-1

But when i call my web services with path parameter URL like
"http://localhost:8080/abc/xyz/somePathParameter"; its not giving me proper
Header response like above , instead it gives me below response only.

Content-Length →0
Content-Type →text/plain.

Can any one please tell me the solution for this.



--
View this message in context: 
http://camel.465427.n5.nabble.com/CORS-configuration-not-working-for-web-services-with-path-parameter-tp5782441.html
Sent from the Camel Development mailing list archive at Nabble.com.

Reply via email to