As far as I know what you are asking is not possible. There were some discussions about
how ws-security works, along with complete examples, a while back:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=127824
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193093#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...