JAX-WS Password Type PasswordText
问题 I've got a simple command line Java JAX-WS app to test a SOAP request, but the server is expecting the Password Type to be PasswordText and I'm stumped on how to set this... The code looks like so: @WebServiceRef private static final HelloService helloService = new HelloService(url, new QName( URL, "HelloService")); public static void main(final String... args) { try { final HelloPort helloPort = helloService.getHelloPort(); final BindingProvider hB = ((BindingProvider) helloPort); hB