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 BEECD6803 for ; Wed, 1 Jun 2011 21:01:39 +0000 (UTC) Received: (qmail 88598 invoked by uid 500); 1 Jun 2011 21:01:39 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 88581 invoked by uid 500); 1 Jun 2011 21:01:39 -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 88573 invoked by uid 99); 1 Jun 2011 21:01:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2011 21:01:39 +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; Wed, 01 Jun 2011 21:01:37 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 50DDAEE86F for ; Wed, 1 Jun 2011 21:00:56 +0000 (UTC) Date: Wed, 1 Jun 2011 21:00:56 +0000 (UTC) From: "Ross M. Lodge (JIRA)" To: issues@cxf.apache.org Message-ID: <252504421.60896.1306962056327.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <967049409.50308.1302552546281.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CXF-3453) WS-Security signed headers fail when schema validation enabled 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-3453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13042430#comment-13042430 ] Ross M. Lodge commented on CXF-3453: ------------------------------------ I'm still seeing this problem for complex types (where the exception is cvc-complex-type.3.2.2), both with 2.3.4 and 2.4 (and 2.4.1-SNAPSHOT and 2.3.4-SNAPSHOT). > WS-Security signed headers fail when schema validation enabled > -------------------------------------------------------------- > > Key: CXF-3453 > URL: https://issues.apache.org/jira/browse/CXF-3453 > Project: CXF > Issue Type: Bug > Components: WS-* Components > Affects Versions: 2.3.1, 2.3.3 > Reporter: Ross M. Lodge > Assignee: Daniel Kulp > Fix For: 2.4, 2.3.4 > > Attachments: SignedHeaderBug.zip > > > After turning on schema validation on a web-service with headers that are signed, but not encrypted, the schema validation fails because the "wsu:Id" is not allowed in the schema. > I've seen two forms of this: a complex type header fails with an error saying that the "wsu:Id" attribute isn't allowed, and a simple type header fails saying that no attributes are allowed (except for type, nill, schemaInstance, etc.). > I think this is a bug, as I don't know anything in the WS-Security specs that would prevent signing of simple type headers or prevent subsequent schema validation. > I've worked around this by using complex types and adding "" to those types, but it doesn't seem like this should be necessary, and doesn't fix the simple type problem. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira