servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
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
    <base href="">
            <link rel="stylesheet" href="/confluence/s/2042/9/13/_/styles/combined.css?spaceKey=SM&amp;forWysiwyg=true"
<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="">return
Status 0 while use chrome to send request for cxf-wsdl-first example</a></h2>
    <h4>Page  <b>added</b> by             <a href="">Freeman
    <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 id="commentsSection" class="wiki-content pageSection">
       <div style="float: right;">
            <a href=""
class="grey">Change Notification Preferences</a>
       <a href="">View
       <a href=";showCommentArea=true#addcomment">Add

View raw message