servicemix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SMX4-1313) Add EnableCORSInterceptor for cxf related examples
Date Fri, 07 Dec 2012 04:39:20 GMT

     [ https://issues.apache.org/jira/browse/SMX4-1313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Freeman Fang resolved SMX4-1313.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 4.5.0
    
> 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
>             Fix For: 4.5.0
>
>
> 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

Mime
View raw message