Hi all,

Using Apache CXF I've created Java code to access a SOAP service described
by a wsdl.

I can now work the service with a couple of lines of code:


*InitiateInvite initiateInvite =
webservicesObjectFactory.createInitiateInvite();*
*InitiateInviteResponse initiateInviteResponse =
certificateServices.getCertificateServicesSoap().initiateInvite(initiateInvite);*



But the SOAP service expects the payload to be signed. I followed the
instructions here http://cxf.apache.org/docs/ws-security.html and now have
a Client with the correct interceptors registered
on the endpoints but the payload is still not signed. The CallbackHandler
for the password is also not called.

How do I combine the client with the generated code to make Apache CXF sign
the SOAP payload?

Thanks for any help and regards,

Jeroen

Reply via email to