Created
April 17, 2014 14:23
-
-
Save FoamValue/10987399 to your computer and use it in GitHub Desktop.
Create the Web service client class - 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: MyWebServiceClient.java | |
* @Package cn.live.ws.service | |
* @Description: TODO | |
* @author FOAMVALUE FOAMVALUE@LIVE.CN | |
* @date 2014年4月16日 下午10:39:59 | |
* @version V1.0 | |
*/ | |
package cn.live.ws.service; | |
import cn.live.ws.service.impl.MyService; | |
import cn.live.ws.service.impl.MyServiceImplService; | |
/** | |
* @ClassName: MyWebServiceClient | |
* @Description: TODO create the Web service client class | |
* @author FOAMVALUE FOAMVALUE@LIVE.CN | |
* @date 2014年4月16日 下午10:39:59 | |
* | |
*/ | |
public class MyWebServiceClient { | |
public static void main(String[] args) { | |
MyServiceImplService serviceImpl = new MyServiceImplService(); | |
MyService service = serviceImpl.getMyServiceImplPort(); | |
System.out.println(service.reverse("123456")); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment