cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Pell (JIRA)" <>
Subject [jira] [Updated] (CXF-4532) Java First Policy buggy
Date Tue, 02 Oct 2012 05:11:07 GMT


Jason Pell updated CXF-4532:

    Attachment: PolicySample.tar.gz

Project that demonstrates the issue 3.  I have defined a policy at the operation binding level
and only the last annotation is respected the others are ignored.  Even if I use two different
files its still the same problem.

I did not include a test client you can use soapui to see the issue.

doStuff() expected a UsernameToken
Greeter() does not - even though its annotated with the right annotation
> Java First Policy buggy
> -----------------------
>                 Key: CXF-4532
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime, WS-* Components
>    Affects Versions: 2.6.2
>            Reporter: Jason Pell
>              Labels: patch
>             Fix For: 2.6.3, 2.7.0
>         Attachments: PolicySample.tar.gz
> Ok so this problem is actually wider ranging in the java first @Policy stuff than I expected.
> So here are the problems so far:
> 1) If I define an external PolicyReference in jaxws:endpoint it is not included in the
WSDL but is validated.
> 2) If I define an inline PolicyReference same problem as for 1.
> 3) If I use SEI and reference the same policy file twice at the operation level its ignored
for all but the last reference.

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:

View raw message