How should I go about creating a simple client to test my WS-Security service? Are there any particular resources I should look at?
I've been following tutorials on setting up a simple WS-Security interceptor for a service (using a UsernameToken). I've mainly looked at these two: http://cwiki.apache.org/CXF20DOC/ws-security.html Apache CXF User's Guide - WS-Security http://depressedprogrammer.wordpress.com/2007/07/31/cxf-ws-security-using-jsr-181-interceptor-annotations-xfire-migration/ CXF WS-Security using JSR 181 + Interceptor Annotations (XFire Migration) The instructions for creating a client are confusing, however. Do I have to make an OutInterceptor if I'm just passing a username and password (i.e., no signature keys)? What needs to be added to my java2ws-generated client class, if anything? Should the client class be invoked as a bean under a jaxws server, or can it be invoked under a jaxrs server? Am I going about this entirely wrong? Thank you! -- View this message in context: http://www.nabble.com/WS-Security---How-do-I-create-a-client--tp20709788p20709788.html Sent from the cxf-user mailing list archive at Nabble.com.
