You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by StErMi <st...@gmail.com> on 2010/02/25 17:40:13 UTC

WS-Security on SOAP MESSAGE

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?
-- 
View this message in context: http://old.nabble.com/WS-Security-on-SOAP-MESSAGE-tp27714474p27714474.html
Sent from the cxf-user mailing list archive at Nabble.com.


Re: WS-Security on SOAP MESSAGE

Posted by StErMi <st...@gmail.com>.


Glen Mazza wrote:
> 
> Links #4 and #8 here may provide some help:
> http://www.jroller.com/gmazza/entry/blog_article_index
> 
> Glen
> 
> 
> 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?
>> 
> 
> 

The problem is that I need to find some tutorials for the client that send
the SOAP message using the connection ( and the server is a class that
implements Provider<SOAPMessage> ).
The client doesn't have anyend point to configure...

-- 
View this message in context: http://old.nabble.com/WS-Security-on-SOAP-MESSAGE-tp27714474p27715201.html
Sent from the cxf-user mailing list archive at Nabble.com.


Re: WS-Security on SOAP MESSAGE

Posted by Glen Mazza <gl...@gmail.com>.
Links #4 and #8 here may provide some help:
http://www.jroller.com/gmazza/entry/blog_article_index

Glen


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?
> 

-- 
View this message in context: http://old.nabble.com/WS-Security-on-SOAP-MESSAGE-tp27714474p27715098.html
Sent from the cxf-user mailing list archive at Nabble.com.


Re: WS-Security on SOAP MESSAGE

Posted by Daniel Kulp <dk...@apache.org>.
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