ep.getProperties().put(SecurityConstants.CALLBACK_HANDLER, new KeystorePasswordCallback());
ep.getProperties().put(SecurityConstants.ENCRYPT_PROPERTIES, "restricted/bob.properties");
if (streaming) {
ep.getProperties().put(SecurityConstants.ENABLE_STREAMING_SECURITY, "true");
}
ep.publish(url);
}
@WebService(targetNamespace = "http://WSSec/wssec11",
serviceName = "PingService11",
portName = "A_IPingService",