servicemix-dev mailing list archives

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


Freeman Fang reassigned SMX4-1313:

    Assignee: Freeman Fang
> Add EnableCORSInterceptor for cxf related examples
> --------------------------------------------------
>                 Key: SMX4-1313
>                 URL:
>             Project: ServiceMix 4
>          Issue Type: Improvement
>          Components: Examples
>            Reporter: Freeman Fang
>            Assignee: 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
> {code}
> Access-Control-Allow-Origin: *
> Access-Control-Allow-Methods: POST, GET
> {code}
> 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