exp.libs.soap.server._WsdlServiceImpl Maven / Gradle / Ivy
The newest version!
package exp.libs.soap.server;
import javax.jws.WebService;
/**
*
* Websevices服务提供的API接口定义.
*
*
*
PROJECT : exp-libs
*
SUPPORT : https://exp-blog.com
* @version 2022-03-06
* @author EXP: [email protected]
* @since JDK 1.8+
*/
// 注解中必须指定接口类位置, 否则会报错 "Could not load Webservice SEI"
@WebService(endpointInterface="exp.libs.warp.net.wsdl.server._IWsdlService")
public class _WsdlServiceImpl implements _IWsdlService {
@Override
public String foo(String param) {
return "webservice-demo : foo-".concat(param);
}
@Override
public void bar(int param) {
System.out.println("webservice-demo : bar-" + param);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy