cancel
Showing results for 
Search instead for 
Did you mean: 

WS call with JAX-WS (WSSecurity)

darionis
Champ on-the-rise
Champ on-the-rise
Hello,

I am working on alfresco client on JBoss7.1. Client will use web services API to access Alfresco. I generated my own JAX-WS stubs and authentication works, I get the ticket.

Now, I want to call some other repository services but authentication fails because of WSsecurity headers, I keep getting:
org.apache.cxf.binding.soap.SoapFault: WSDoAllReceiver: Request does not contain required Security header

All I need to do is pass the ticket in the WSsecurity header but I have no idea how to do that.  JBoss7.1 uses "Apache CXF WS" stack which supports WSsecurity, I googled around but didn't find anything helpful.

Can anybody please help with setting ticket in WSSecurity header with JAX-WS, metro, anything…?

Thanks!
1 REPLY 1

abarisone
Star Contributor
Star Contributor