Freeman Fang created SMX4-1313:
----------------------------------

             Summary: 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


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

Reply via email to