cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajesh Kumar (JIRA)" <>
Subject [jira] [Created] (CXF-3776) Duplicate policy getting added with java-first approach
Date Tue, 30 Aug 2011 06:40:38 GMT
Duplicate policy getting added with java-first approach

                 Key: CXF-3776
             Project: CXF
          Issue Type: Bug
         Environment: Local build
            Reporter: Rajesh Kumar

I am trying the latest CXF release 2.4.2 for adding policy using java-first approach. The
generated wsdl had two occurences of policy. 
Since I put the "wsu:id"  attribute in wsp:Policy tag, two policies with the same id got added
in the generated wsdl. Also tried removing "wsu:id" attribute to avoid the duplicate policy
exception, but it failed at some other point with error message "Signature creation failed"
(please refer attached stack_trace_without_policy_id.txt).

when I removed "implementorClass" attribute from jaxws:endpoint configuration it was observed
that the generated wsdl has only one instance of policy as expected, but the client stub generation
for some of my webservices failed when configured without implementorClass.

Please refer the attached artifacts for code/configuration to reproduce the issue. generated
wsdl with duplicate policy is also attached.

CXF / WSS artifacts used for the sample webapp are as below:

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message