Hi,
How does remove the SOAP Headers when working with cxf bc provider
component.
My usecase is like below
CXF Client [security Enabled ] ----> CXF Consumer ---> cxf provider[Need
to filter security headers] ---> call webservice [No security required to
call service]
<cxfbc:consumer wsdl="classpath:service.wsdl"
targetService="tns:OrderProcessImplService"
targetInterface="tns:OrderProcess"
targetEndpoint="OrderProcessPort"
delegateToJaas="false"
useJBIWrapper="false"
useSOAPEnvelope="false"
x509="false">
<cxfbc:inInterceptors>
<bean id="wss4jIn"
class="org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor">
<constructor-arg>
<map>
<entry key="action"
value="Signature"/>
<entry key="passwordType"
value="PasswordText"/>
<entry>
<key>
<value>passwordCallbackRef</value>
</key>
<ref
bean="servicePasswordCallback"/>
</entry>
<entry key="disablePrettyXML"
value="true"/>
<entry key="sendXsiTypes"
value="true"/>
<entry key="sendMultiRefs"
value="true"/>
<entry key="sendXMLDeclaration"
value="true"/>
<entry key="samlPropFile"
value="service_saml.properties"/>
<entry key="signaturePropFile"
value="hub_server_sign.properties"/>
<entry key="signatureKeyIdentifier"
value="DirectReference"/>
</map>
</constructor-arg>
</bean>
<bean id="mapAggregatorService"
class="org.apache.cxf.ws.addressing.MAPAggregator"/>
<bean id="mapCodecService"
class="org.apache.cxf.ws.addressing.soap.MAPCodec"/>
</cxfbc:inInterceptors>
</cxfbc:consumer>
<cxfbc:provider
wsdl="classpath:service.wsdl"
locationURI="http://localhost:8080/orderapp/OrderProcess"
service="tns:OrderProcessImplService"
endpoint="OrderProcessPort"
useJBIWrapper="false"
useSOAPEnvelope="false"
>
</cxfbc:outInterceptors>
</cxfbc:provider>
<bean id="passwordCallback"
class="com.planetsoft.framework.ihub.security.ClientPasswordCallbackHandler"/>
<bean id="servicePasswordCallback"
class="com.planetsoft.framework.ihub.security.ServicePasswordCallbackHandler"/>
</beans>
We were unable to remove soap secuirty headers after removing the
OutInterceptor for cxf bc provider.
Please Suggest me how do we remove soap headers.
Regards,
Praveen Chakinala
--
View this message in context:
http://servicemix.396122.n5.nabble.com/CXF-BC-Provider-remove-soap-headers-tp4365260p4365260.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.