cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (JIRA)" <>
Subject [jira] [Commented] (CXF-4334) Schema validation does not validate elements in soap header
Date Thu, 24 May 2012 03:15:41 GMT


Freeman Fang commented on CXF-4334:

Hi Eirik,

I just commit a fix on trunk, so you can wait some time(probably tomorrow) until the CI build
publish 2.6.1-SNAPSHOT artifacts to Apache snapshot repo and run your testcase again, you
need edit the pom.xml in your testcase use cxf.version as 2.6.1-SNAPSHOT to pick up this fix.

Btw, if you can re-attach your testcase with "Grant Apache License" I think I can bake it
into CXF code base.

> Schema validation does not validate elements in soap header
> -----------------------------------------------------------
>                 Key: CXF-4334
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>            Reporter: Eirik Bjorsnos
>            Assignee: Freeman Fang
>         Attachments:
> When publishing a JAX-WS service backed by a Java SEI and setting
> properties.put(Message.SCHEMA_VALIDATION_ENABLED, Boolean.TRUE.toString());
> , then missing / wrong soap header content in the request is detected with a soap:Fault.
> However, when the JAX-WS service is backed by a Provider<Source> annotated with
@WebServiceProvider, then invalid soap body content is detected, but invalid header content
is not.
> I would expect that when SCHEMA_VALIDATION_ENABLED is set to true, then invalid content
should cause soap:Fault for header and body content, regardless of the service being backed
by a Java SEI or a Provider<Source>.
> I think this mail thread discusses the same issue:
> I'll attach a minimal test case demonstrating the issue.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message