Return-Path: X-Original-To: apmail-servicemix-dev-archive@www.apache.org Delivered-To: apmail-servicemix-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2335571A3 for ; Thu, 1 Sep 2011 01:07:35 +0000 (UTC) Received: (qmail 36218 invoked by uid 500); 1 Sep 2011 01:07:34 -0000 Delivered-To: apmail-servicemix-dev-archive@servicemix.apache.org Received: (qmail 36157 invoked by uid 500); 1 Sep 2011 01:07:34 -0000 Mailing-List: contact dev-help@servicemix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@servicemix.apache.org Delivered-To: mailing list dev@servicemix.apache.org Received: (qmail 36143 invoked by uid 99); 1 Sep 2011 01:07:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Sep 2011 01:07:34 +0000 X-ASF-Spam-Status: No, hits=-1999.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD,URI_HEX X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Sep 2011 01:07:31 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 2004E42569 for ; Thu, 1 Sep 2011 01:07:10 +0000 (UTC) Date: Thu, 1 Sep 2011 01:07:10 +0000 (UTC) From: "Freeman Fang (JIRA)" To: dev@servicemix.apache.org Message-ID: <1335195236.5330.1314839230127.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1352643023.1923.1309273157226.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (SM-2101) STATUS: 0 vs expected STATUS: 200 in CXF WS-Addressing Example within various browsers MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SM-2101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13095039#comment-13095039 ] Freeman Fang commented on SM-2101: ---------------------------------- Hi Robert, I tested with Firefox 3.6.20 and Safari 4.0.2, both return expected STATUS: 200 http://apache.org/hello_world_soap_http/Greeter/sayHiResponseurn:uuid:a1bbaadf-0a31-49ba-8596-456642242d88http://www.w3.org/2005/08/addressing/anonymousurn:uuid:10fb2ee6-43db-4d88-a3e5-6316f1763669Bonjour 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] [1]http://servicemix.396122.n5.nabble.com/Status-0-td4673071.html Freeman > STATUS: 0 vs expected STATUS: 200 in CXF WS-Addressing Example within various browsers > -------------------------------------------------------------------------------------- > > Key: SM-2101 > URL: https://issues.apache.org/jira/browse/SM-2101 > 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: http://www.atlassian.com/software/jira