Syed Abdul Wadood created CXF-5229:
--------------------------------------

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


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

Reply via email to