Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4AA96E603 for ; Mon, 4 Feb 2013 07:18:15 +0000 (UTC) Received: (qmail 93091 invoked by uid 500); 4 Feb 2013 07:18:15 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 92972 invoked by uid 500); 4 Feb 2013 07:18:14 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 92936 invoked by uid 99); 4 Feb 2013 07:18:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Feb 2013 07:18:13 +0000 Date: Mon, 4 Feb 2013 07:18:13 +0000 (UTC) From: "alex zan (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CXF-4794) Soap 1.1 service returns an invalid soap fault for soap 1.2 requests MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-4794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13570031#comment-13570031 ] alex zan commented on CXF-4794: ------------------------------- Hi Aki, Could you put up your fix link or show me where is your code change? I really need it for urgent issue. Thanks! > Soap 1.1 service returns an invalid soap fault for soap 1.2 requests > -------------------------------------------------------------------- > > Key: CXF-4794 > URL: https://issues.apache.org/jira/browse/CXF-4794 > Project: CXF > Issue Type: Bug > Components: Soap Binding > Affects Versions: 2.7.2 > Reporter: Aki Yoshida > Assignee: Aki Yoshida > Fix For: 2.8.0, 2.7.4, 2.6.7, 2.5.10 > > > The soap 1.1 endpoint (i.e., soap 1.2 binding not enabled) is supposed to returns a soap fault when a soap 1.2 message is received. The fault is correctly raised, however, the returned fault message is inconsistent and has the soap 1.2 fault containing the soap 1.1 fault content, as > > > > ns1:VersionMismatch > A SOAP 1.2 message is not valid when sent to a SOAP 1.1 only endpoint. > > > > This will lead to problems at most soap clients (including CXF which gets an NPE), as the fault code is not found at the expected element. > We can fix this by returning either the soap 1.1 fault or the soap 1.2 fault. The client that sent the soap 1.2 request message obviously understands both soap 1.2 and 1.1, it is not clear whether the service must return the soap 1.1 message or may return the message of the same version as the request message, in this case, the soap 1.2 message. -- 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