Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在 Eclipse 中从我的 servlet 或 java 类调用 Webservice 客户端。
以及如何使用客户端从我的 java 或 servlet 类调用 wsdl 中的特定方法?
@WebServiceRef(wsdlLocation="http://localhost:8080/ helloservice/hello?wsdl") static HelloService service; ... Hello port = service.getHelloPort(); .... String response = port.sayHello(name);