I have a problem to configure WS-Security UsernameToken My config
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:http="http://servicemix.apache.org/http/1.0" xmlns:p="http://www.vd.ch/tutorial/smx/pojo"> <http:endpoint xmlns:soap="http://servicemix.apache.org/soap/1.0" service="p:PaysService" endpoint="PaysServiceSOAP" role="consumer" soap="true" soapVersion="1.1" targetService="p:PaysService" locationURI="http://localhost:8192/PaysService" defaultMep="http://www.w3.org/2004/08/wsdl/in-out"> <http:policies> <soap:ws-security receiveAction="UsernameToken"/> </http:policies> </http:endpoint> </beans> I receive always the same fault response <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"> <soap:Body> <soap:Fault> <soap:Code> <soap:Value>soap:Receiver</soap:Value> </soap:Code> <soap:Reason> <soap:Text xml:lang="en">java.lang.NullPointerException</soap:Text> </soap:Reason> </soap:Fault> </soap:Body> </soap:Envelope> -- View this message in context: http://www.nabble.com/WS-Security-UsernameToken-tp14528308s12049p14528308.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
