cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: WS-Security on SOAP MESSAGE
Date Thu, 25 Feb 2010 21:46:59 GMT
On Thu February 25 2010 11:40:13 am StErMi wrote:
> I'm using cxf to develop a webservice: this is the webservices on the
> server http://pastebin.com/dq3pSNcX and this is the beans.xml
> http://pastebin.com/qZb0ywvk loaded by the web.xml. This is the client:
> http://pastebin.com/pMWecMss Client and server send SOAP message each
> others. Everything works! I want to add security to the client and server
> soap message sended. I just made it for the server but i don't know how to
> do it with the client part. Someone can send me example on how to configure
> the client xml? Note: xml send soap messages using connection.call(msg,
> endpoint);
> 
> Someone can help me?

You aren't really using CXF for the client at all, you are just using raw 
SAAJ.   My suggestion is to look at the WSS4J API's.   It should have what you 
need to add security to the message.


-- 
Daniel Kulp
dkulp@apache.org
http://www.dankulp.com/blog

Mime
View raw message