By default CXF Web Service provides SOAP 1.1 end point. In order for your web service to expose SOAP 1.2 endpoint and accept SOAP 1.2 request configure the following settings in server side CXF config file of the Web Service:
Creating SOAP 1.2 end point
<jaxws:endpoint id="auth" implementor="#AuthService" address="/cxfSearch12">
<jaxws:binding>
<soap:soapBinding version="1.2" mtomEnabled="true"/>jaxws:binding>
<jaxws:features>
<bean class="org.apache.cxf.feature.LoggingFeature"/>
jaxws:features>
<jaxws:inInterceptors>
<bean class="org.apache.cxf.binding.soap.saaj.SAAJInInterceptor"/> <ref bean="wss4jInConfiguration"/>
jaxws:inInterceptors>
jaxws:endpoint>
1 comment:
Hi,
This is very useful for me. At first I want to give you a great thank for this help full site. Keep up the good work with some new info. Thanks....
Post a Comment