secureOutboundMessage(context) does nothing
i've looked in the airline example and i want to create a secure echo web service. :)
I wrote a little test client (99% the same as the saaj airline client).
But it doesn't add the security header, that's why i get this error message:
The dump shows that there is really no security header. Any idea why?
Received SOAP Fault
SOAP Fault Code :SOAP-ENV:Client
SOAP Fault String :com.sun.xml.wss.XWSSecurityException: Message does not conform to configured policy [ AuthenticationTokenPolicy(S) ]: No Security Header found; nested exception is com.sun.xml.wss.XWSSecurityException: com.sun.xml.wss.XWSSecurityException: Message does not conform to configured policy [ AuthenticationTokenPolicy(S) ]: No Security Header found
The securityPolicy.xml is the same as in the airline client.
20.06.2006 13:53:14 com.sun.xml.wss.impl.filter.DumpFilter process
INFO: ==== Sending Message Start ====
<?xml version="1.0" encoding="UTF-8"?>
==== Sending Message End ====