cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache CXF Documentation > JAX-RS CORS
Date Wed, 29 May 2013 17:42:00 GMT
<html>
<head>
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/2042/9/1/_/styles/combined.css?spaceKey=CXF20DOC&amp;forWysiwyg=true"
type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://cwiki.apache.org/confluence/display/CXF20DOC/JAX-RS+CORS?focusedCommentId=31823188#comment-31823188">JAX-RS
CORS</a></h2>
        <h4>Page
        <b>comment added</b> by              <a href="https://cwiki.apache.org/confluence/display/~sachin%2Bparadkar">Sachin
S Paradkar</a>
    </h4>
    <br/>
    <div class="notificationGreySide">
       <p>In CrossOriginResourceSharing annotation instead of allowOrigins = </p>
<div class="error"><span class="error">Unknown macro: {&quot;http}</span>
</div>
<p>, 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:<a href="http://area51.mil:31415"
class="external-link" rel="nofollow">http://area51.mil:31415</a> and will get a 404
error from the browser you are trying to access it . </p>
    </div>

        
    <div id="commentsSection" class="wiki-content pageSection">
       <div style="float: right;">
            <a href="https://cwiki.apache.org/confluence/users/viewnotifications.action"
class="grey">Change Notification Preferences</a>
       </div>
       <a href="https://cwiki.apache.org/confluence/display/CXF20DOC/JAX-RS+CORS?focusedCommentId=31823188#comment-31823188">View
Online</a>
              |
       <a id="reply-31823188" href="https://cwiki.apache.org/confluence/display/CXF20DOC/JAX-RS+CORS?replyToComment=31823188#comment-31823188">Reply
To This</a>
           </div>

</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message