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 D30949C8E for ; Thu, 17 May 2012 14:21:34 +0000 (UTC) Received: (qmail 17729 invoked by uid 500); 17 May 2012 14:21:34 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 17583 invoked by uid 500); 17 May 2012 14:21:34 -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 17513 invoked by uid 99); 17 May 2012 14:21:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 May 2012 14:21:34 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD 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, 17 May 2012 14:21:33 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id DC3E4AF34 for ; Thu, 17 May 2012 14:21:12 +0000 (UTC) Date: Thu, 17 May 2012 14:21:12 +0000 (UTC) From: "Ulhas Bhole (JIRA)" To: issues@cxf.apache.org Message-ID: <1473812181.8764.1337264472903.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1458060882.31760.1336298219101.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CXF-4289) Coping Request SOAP Headers to Fault response 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/CXF-4289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13277845#comment-13277845 ] Ulhas Bhole commented on CXF-4289: ---------------------------------- I will take a look into it and apply patch soon. Regards, Ulhas Bhole > Coping Request SOAP Headers to Fault response > --------------------------------------------- > > Key: CXF-4289 > URL: https://issues.apache.org/jira/browse/CXF-4289 > Project: CXF > Issue Type: Improvement > Reporter: Andrei Shakirin > Assignee: Ulhas Bhole > Priority: Minor > Attachments: JAXWSMethodInvoker.patch > > > Hi, > Actually JAXWSMethodInvoker and AbstractJAXWSMethodInvoker contain code to copy request soap headers (except security one) to SOAP Fault: AbstractJAXWSMethodInvoker.updateHeader(). > I see some use cases when it is not really desired: > 1) Request SOAP headers contains some labelling information about request elements and they make sense only with request > 2) Request SOAP headers extending request elements with meta-information > If request headers are copied into fault response, they can be invalid in response context and cause undesired effects: > a) it makes response processing on the client side more difficult, especially if processing interceptor is called before incoming fault message is recognized and placed into exchange.getInFaultMessage() > b) response fault message has larger size > Proposal is to define context property that give user the possibility to switch-off coping request headers into fault response. > Patch is attached. > Regards, > Andrei. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira