服务端
public String getUserName()
{
return "帐号";
}
public String login(String username)
{
return "获取成功"+username;
}
客户端
UserServiceService userServiceService=new UserServiceService();
UserServiceDelegate userServiceDelegate=userServiceService.getUserServicePort();
System.out.println(userServiceDelegate.getUserName());
System.out.println(userServiceDelegate.login("aaaaaa"));