JAX-RS CORSComment edited by Sachin S Paradkar :Changes (1)
Full ContentIn CrossOriginResourceSharing annotation instead of allowOrigins = {"http://area51.mil:31415"}
, 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
