Skip to content

Instantly share code, notes, and snippets.

@FoamValue
Created April 17, 2014 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FoamValue/10987399 to your computer and use it in GitHub Desktop.
Save FoamValue/10987399 to your computer and use it in GitHub Desktop.
Create the Web service client class - Web Services in Java using Maven
/**
* @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