WS-Security commented on by Malix Ren (May 29, 2009).

Comment:

The sample Spring XML Configuration is incorrect:
1)
<bean id="myPasswordCallback"
class="com.mycompany.webservice.ServerPasswordCallback"/>
can not be placed within <jaxws:endpoint>
2)
<entry key="passwordCallbackRef">
<ref bean="myPasswordCallback"/>
</entry>

is not useful.

It should be something like
<entry key="passwordCallbackClass" value="com.mycompany.webservice.client.ClientKeystorePasswordCallback"/>

Best regards
Malix

Reply via email to