servicemix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (JIRA)" <>
Subject [jira] [Created] (SMX4-1313) Add EnableCORSInterceptor for cxf related examples
Date Tue, 04 Dec 2012 04:05:58 GMT
Freeman Fang created SMX4-1313:

             Summary: Add EnableCORSInterceptor for cxf related examples
                 Key: SMX4-1313
             Project: ServiceMix 4
          Issue Type: Improvement
          Components: Examples
            Reporter: Freeman Fang

several cxf related examples has a client.html which is designed to be loaded by a browser
to send and receive soap message.
However, modern browsers will check CORS http header from the response message, so the client.html
won't work in most modern browsers(only display Status 0 for the response area).
we can add an interceptor for the server side, which simply add response http header like
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST, GET
then the response message could be accepted by the browser

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message