草庐IT

PasswordText

全部标签

java - JAX-WS 密码类型 PasswordText

我有一个简单的命令行JavaJAX-WS应用程序来测试SOAP请求,但服务器期望密码类型为PasswordText,我不知道如何设置它...代码如下:@WebServiceRefprivatestaticfinalHelloServicehelloService=newHelloService(url,newQName(URL,"HelloService"));publicstaticvoidmain(finalString...args){try{finalHelloPorthelloPort=helloService.getHelloPort();finalBindingProvi