AnsweredAssumed Answered

WS call with JAX-WS (WSSecurity)

Question asked by darionis on Sep 28, 2012
Latest reply on Sep 28, 2012 by abarisone
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!

Outcomes