((BindingProvider)stub).getRequestContext().
put(com.sun.xml.wss.XWSSConstants.USERNAME_PROPERTY, "alice");
((BindingProvider)stub).getRequestContext().
put(com.sun.xml.wss.XWSSConstants.PASSWORD_PROPERTY, "alice");
stub.ping(new Holder("1"), new Holder("sun"), new Holder("Passed!"));
// Ping again
stub.ping(new Holder("1"), new Holder("sun"), new Holder("Passed again!"));