You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Jason Pell (JIRA)" <ji...@apache.org> on 2012/10/02 06:57:07 UTC

[jira] [Updated] (CXF-4532) Java First Policy buggy

     [ https://issues.apache.org/jira/browse/CXF-4532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Pell updated CXF-4532:
----------------------------

    Description: 
http://mail-archives.apache.org/mod_mbox/cxf-users/201206.mbox/%3C1340804477741-5710372.post@n5.nabble.com%3E

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 define a @Policy in the SEI referencing an inline policy 

  was:
http://mail-archives.apache.org/mod_mbox/cxf-users/201206.mbox/%3C1340804477741-5710372.post@n5.nabble.com%3E

Existing problem since at least 2.4.6

It also does not work even if referenced inline as suggested by Daniel.  I am going to work on a simple test case first which I will attach.  I will then see if I can't fix the problem myself.

I need to be able to dynamically configure policies in java first ws, so the SEI @Policies stuff is nice but not flexible enough.




        Summary: Java First Policy buggy  (was: Java First PolicyReferences not included in generated wsdl.)
    
> Java First Policy buggy
> -----------------------
>
>                 Key: CXF-4532
>                 URL: https://issues.apache.org/jira/browse/CXF-4532
>             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
>
>
> http://mail-archives.apache.org/mod_mbox/cxf-users/201206.mbox/%3C1340804477741-5710372.post@n5.nabble.com%3E
> 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 define a @Policy in the SEI referencing an inline policy 

--
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: http://www.atlassian.com/software/jira