客æ·ç«¯è°ç¨ä»£ç ï¼
JaxWsProxyFactoryBean factory1 = new JaxWsProxyFactoryBean();
factory1.setServiceClass(UaAuthInterfaces.class);
factory1.setAddress("
http://localhost:8080/webservices/HelloService");
UaAuthInterfaces u = (UaAuthInterfaces) factory1.create();
u.sayHello("javalinjx");
å
¶ä¸UaAuthInterfaces为æå¡ç±»ï¼
http://localhost:8080/webservices/HelloService为æå¡çURL
sayHello 为UaAuthInterfacesæå¡ç±»ç¸åºçæå¡æ¹æ³ï¼å¸æå¯¹ä½ æ帮å©ï¼ï¼