Return-Path: Delivered-To: apmail-incubator-cxf-issues-archive@locus.apache.org Received: (qmail 79922 invoked from network); 2 Nov 2006 08:46:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Nov 2006 08:46:37 -0000 Received: (qmail 39884 invoked by uid 500); 2 Nov 2006 08:46:49 -0000 Delivered-To: apmail-incubator-cxf-issues-archive@incubator.apache.org Received: (qmail 39871 invoked by uid 500); 2 Nov 2006 08:46:48 -0000 Mailing-List: contact cxf-issues-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-dev@incubator.apache.org Delivered-To: mailing list cxf-issues@incubator.apache.org Received: (qmail 39862 invoked by uid 99); 2 Nov 2006 08:46:48 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Nov 2006 00:46:48 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Nov 2006 00:46:36 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BB5B87142DC for ; Thu, 2 Nov 2006 00:46:16 -0800 (PST) Message-ID: <2930499.1162457176764.JavaMail.root@brutus> Date: Thu, 2 Nov 2006 00:46:16 -0800 (PST) From: "Jervis Liu (JIRA)" To: cxf-issues@incubator.apache.org Subject: [jira] Created: (CXF-205) read and modify soap headers from SOAPHandler MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org read and modify soap headers from SOAPHandler --------------------------------------------- Key: CXF-205 URL: http://issues.apache.org/jira/browse/CXF-205 Project: CXF Issue Type: Improvement Components: JAX-WS Runtime Affects Versions: 2.0-M1 Reporter: Jervis Liu Assigned To: Jervis Liu Users should be able to access and modify soap headers in SOAPHandler: public boolean handleMessage(SOAPMessageContext smc) { ......... SOAPMessage message = smc.getMessage(); SOAPHeader header = message.getSOAPHeader(); Name headerName = soapFactory.createName("Claim", "wsi", "http://ws-i.org/schemas/conformanceClaim/"); SOAPHeaderElement headerElement = header.addHeaderElement(headerName); headerElement.addAttribute(soapFactory.createName("conformsTo"), "http://ws-i.org/profiles/basic1.0/"); ........... } -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira