You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2013/08/26 21:25:52 UTC

[jira] [Resolved] (CXF-5229) Question on configuring multiple policies inside WSDL bindings

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

Daniel Kulp resolved CXF-5229.
------------------------------

       Resolution: Invalid
    Fix Version/s: Invalid
         Assignee: Daniel Kulp

This is more a question for the users list than a JIRA issue.

In anycase, the policies should definitely be working like that.  However, update to the latest 2.6.x or 2.7.x version of CXF and re-try as there has been some updates in the policy selection algorithms for the server side.  If there is still a problem  please log a bug with a test case or at least a clear indication of the what the problem is.
                
> Question on configuring multiple policies inside WSDL bindings
> --------------------------------------------------------------
>
>                 Key: CXF-5229
>                 URL: https://issues.apache.org/jira/browse/CXF-5229
>             Project: CXF
>          Issue Type: Bug
>          Components: WS-* Components
>    Affects Versions: 2.6.2
>         Environment: All platforms
>            Reporter: Syed Abdul Wadood
>            Assignee: Daniel Kulp
>             Fix For: Invalid
>
>   Original Estimate: 96h
>  Remaining Estimate: 96h
>
> When WS-Security policy in WSDL is configured as shown below, we are seeing some intermittent problems because incorrect policy is applied sometimes.
> Is this policy configuration supported by CXF?  We are using neethi policy engine with CXF.
> <wsdl:binding name="TestSoapBinding1" type="tns:TestSig">
>    <wsp:PolicyReference URI="#GenericPolicy" />        
>    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
>       <wsdl:operation name="invoke">
>          <soap:operation soapAction="" style="document"/>
>          <wsdl:input name="testRequest">
>             <soap:body use="literal"/>
>          </wsdl:input>
>          <wsdl:output name="testResponse">
>             <wsp:PolicyReference URI="#OutboundPolicy" />
>             <soap:body use="literal"/>
>          </wsdl:output>
>       </wsdl:operation>
> </wsdl:binding>
> <wsdl:binding name="TestSoapBinding1" type="tns:TestSig">
>    <wsp:PolicyReference URI="#GenericPolicy" />        
>    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
>       <wsdl:operation name="invoke">
>          <soap:operation soapAction="" style="document"/>
>          <wsdl:input name="testRequest"> 
>             <wsp:PolicyReference URI="#InboundPolicy" />
>             <soap:body use="literal"/>
>          </wsdl:input>
>          <wsdl:output name="testResponse">
>             <soap:body use="literal"/>
>          </wsdl:output>
>       </wsdl:operation>
> </wsdl:binding>

--
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