servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache ServiceMix > return Status 0 while use chrome to send request for cxf-wsdl-first example
Date Mon, 08 Aug 2011 13:24:00 GMT
<html>
<head>
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/2042/9/13/_/styles/combined.css?spaceKey=SM&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/SM/return+Status+0+while+use+chrome+to+send+request+for+cxf-wsdl-first+example">return
Status 0 while use chrome to send request for cxf-wsdl-first example</a></h2>
    <h4>Page  <b>added</b> by             <a href="https://cwiki.apache.org/confluence/display/~ffang">Freeman
Fang</a>
    </h4>
         <br/>
    <div class="notificationGreySide">
         <p>In the cxf-wsdl-first example shipped with kit we need use a browser to
send request to test the example functionality.<br/>
However, there is a known issue that chrome by default enable CORS (Cross-Origin Resource
Sharing) , and as the example client.html is loaded from <a href="file:///" class="external-link"
rel="nofollow">file:///</a>, then the request to a http:// is across the domain which
is not allowed.<br/>
As a workaround, customer can start chrome like<br/>
chrome --disable-web-security<br/>
to ensure request from <a href="file://" class="external-link" rel="nofollow">file://</a>
to http:// can pass through.</p>

<p>Or just use firefox as the browser to send out the test request.</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/SM/return+Status+0+while+use+chrome+to+send+request+for+cxf-wsdl-first+example">View
Online</a>
              |
       <a href="https://cwiki.apache.org/confluence/display/SM/return+Status+0+while+use+chrome+to+send+request+for+cxf-wsdl-first+example?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
           </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message