All Downloads are FREE. Search and download functionalities are using the official Maven repository.

exp.libs.soap.server.WsdlServerDemo Maven / Gradle / Ivy

The newest version!
package exp.libs.soap.server;

import javax.xml.ws.Endpoint;

/**
 * 
 * 此类并不是一个发布Websevices的API. 
 * 此类的作用是【演示】如何通过 JAX-WS 发布一个超轻量级的Websevices服务.
 * 
* *
PROJECT : exp-libs *
SUPPORT : https://exp-blog.com * @version 2022-03-06 * @author EXP: [email protected] * @since JDK 1.8+ */ public class WsdlServerDemo { /** 自定义发布Websevices的地址 */ public final static String WSDL_URL = "http://127.0.0.1:8080/wsdemo?wsdl"; /** *
	 * 发布服务.
	 *   发布服务后,建议切到soapUI捕获此服务, 然后停掉此处的服务, 就可以在soapUI调试.
	 * 
* @param args */ public static void main(String[] args) { Endpoint.publish(WSDL_URL, new _WsdlServiceImpl()); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy