THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||||
---|---|---|---|---|
| ||||
<import resource="classpath:META-INF/cxf/cxf.xml" /> <import resource="classpath*:META-INF/cxf/cxf-extension-*.xml" /> <jaxws:endpoint id="myService" implementor="com.acme.MyServiceImpl" address="http://localhost:9001/MyService"> <bean id="myPasswordCallback" class="com.mycompany.webservice.ServerPasswordCallback"/> <jaxws:inInterceptors> <!-- SAAJ Interceptor needs to be explicitly neededdeclared only in forCXF 2.0.x --> <bean class="org.apache.cxf.binding.soap.saaj.SAAJInInterceptor"/> <bean class="org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor"> <constructor-arg> <map> <entry key="action" value="UsernameToken"/> <entry key <entry key="passwordType" value="PasswordDigest"/> <entry key="signaturePropFile" value="..."/> <entry key="passwordCallbackRef"> <ref bean="myPasswordCallback"/> </entry> ... </map> </constructor-arg> </bean> </jaxws:inInterceptors> </jaxws:endpoint> |
...