Juddiv3 获得令牌的web services代码
Juddiv3 取得令牌的web services代码package?my.udditestaxis.client??import?java.rmi.RemoteException
Juddiv3 取得令牌的web services代码
package?my.udditestaxis.client;??
import?java.rmi.RemoteException;????public?class?UDDI_Security_PortClient???{????public?UDDI_Security_PortClient()?{}????????public?static?void?main(String[]?args)?throws?RemoteException????{??????UDDI_Security_PortStub?securityService?=?new??????UDDI_Security_PortStub("http://localhost:8080/juddiv3/services/security");??????String?token?=?securityService.get_authToken("root",?"robin");??????System.out.println("The?token?is:?"?+?token);????}??}?
1 楼 endual 2011-08-07 http://www.coderanch.com/t/511939/Web-Services/java/org-apache-juddi-client-transport