servicemix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (JIRA)" <>
Subject [jira] [Commented] (SM-2101) STATUS: 0 vs expected STATUS: 200 in CXF WS-Addressing Example within various browsers
Date Thu, 01 Sep 2011 01:07:10 GMT


Freeman Fang commented on SM-2101:

Hi Robert,

I tested with Firefox 3.6.20 and Safari 4.0.2, both return expected 
<soap:Envelope xmlns:soap=""><soap:Header><Action

I think the problem you encountered is that some modern browser by default enable CORS  
(Cross-Origin Resource Sharing) , and as our client.html is loaded  
from file:///, then the request to a http:// is across the domain  
which is not allowed. You can configure your browser to disable CORS to make it work.
You can find a similar discussion here[1]



> STATUS: 0 vs expected STATUS: 200 in CXF WS-Addressing Example within various browsers
> --------------------------------------------------------------------------------------
>                 Key: SM-2101
>                 URL:
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: samples
>         Environment: Apache ServiceMix 4.3.0
>            Reporter: Robert Liguori
>            Assignee: Freeman Fang
>            Priority: Minor
>         Attachments: browsers.doc
> The documentation for the CXF WS-Addressing Example reads:
> "1. Open the client.html, which is located in the same directory as this README file,
in your favorite browser." 
> As such, I have performed the testing with IE, Firefox, Opera and Safari.
> The expected response status of 200 is only seen with IE.  Firefox, Opera and Safari
all return status of 0.  See attached file.
> Note: I ensured JavaScript was enable for Firefox and the status of 0 was still returned.

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message