You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2012/12/04 05:07:58 UTC
[jira] [Assigned] (SMX4-1313) Add EnableCORSInterceptor for cxf
related examples
[ https://issues.apache.org/jira/browse/SMX4-1313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Freeman Fang reassigned SMX4-1313:
----------------------------------
Assignee: Freeman Fang
> Add EnableCORSInterceptor for cxf related examples
> --------------------------------------------------
>
> Key: SMX4-1313
> URL: https://issues.apache.org/jira/browse/SMX4-1313
> 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 like
> {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: http://www.atlassian.com/software/jira