cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snake0zero <snake0z...@gmail.com>
Subject Re: About cxf CORS with setRequestHeader or without setRequestHeader
Date Tue, 03 Jun 2014 02:02:29 GMT
Thx for your reply, in your comments[need to implement the OPTIONS in your
rest service.]

Does it means add @OPTIONS annotation over my rest service method or add
OPTIONS in Access-Control-Allow-Methods by server?

I have tried two above method, but when i access cross-site, it still prompt
[No 'Access-Control-Allow-Origin' header is present on the requested
resource. Origin 'http://localhost:8181' is therefore not allowed access.]

How should i solve this issue?




--
View this message in context: http://cxf.547215.n5.nabble.com/About-cxf-CORS-with-setRequestHeader-or-without-setRequestHeader-tp5744552p5744623.html
Sent from the cxf-user mailing list archive at Nabble.com.

Mime
View raw message