JAX-RS CORSPage comment added by Sachin S ParadkarIn CrossOriginResourceSharing annotation instead of allowOrigins = Unknown macro: {"http}
, we need to use allowAllOrigins=true since when you try to access the service from a different domain ,in the header you won't see Access-Control-Allow-Origin:http://area51.mil:31415 and will get a 404 error from the browser you are trying to access it .
Change Notification Preferences
View Online
|
|
- [CONF] Apache CXF Documentation > JAX-RS CORS confluence
- [CONF] Apache CXF Documentation > JAX-RS CORS confluence
- [CONF] Apache CXF Documentation > JAX-RS CORS confluence
- [CONF] Apache CXF Documentation > JAX-RS CORS confluence
- [CONF] Apache CXF Documentation > JAX-RS CORS confluence
- [CONF] Apache CXF Documentation > JAX-RS CORS confluence
