Created
April 17, 2014 14:21
-
-
Save FoamValue/10987200 to your computer and use it in GitHub Desktop.
Publish the web service - Web Services in Java using Maven
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @Title: Publisher.java | |
* @Package cn.live.ws.service | |
* @Description: TODO | |
* @author FOAMVALUE FOAMVALUE@LIVE.CN | |
* @date 2014年4月16日 下午4:21:59 | |
* @version V1.0 | |
*/ | |
package cn.live.ws.service; | |
import javax.xml.ws.Endpoint; | |
import cn.live.ws.service.Impl.MyServiceImpl; | |
/** | |
* @ClassName: Publisher | |
* @Description: TODO | |
* @author FOAMVALUE FOAMVALUE@LIVE.CN | |
* @date 2014年4月16日 下午4:21:59 | |
* | |
*/ | |
public class Publisher { | |
public static void main(String[] args) { | |
Endpoint.publish("http://localhost:8080/WS/MyService", new MyServiceImpl()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment