标签:webservice jdk webservice wsimport jdk wsimport
wsimport -p com.xxxx.ws -keep http://ip:port/xxx?wsdlpublic static void main(String[] args) { CreateAccountRequest req = new CreateAccountRequest(); req.setSite("i-Shanghai"); req.setUserName("18717821504"); req.setPassword("8927"); req.setTimestamp(DateUtil.timestamp()); WiseChoiceService service = new WiseChoiceService(); WiseChoice proxy = service.getWiseChoicePort(); CreateAccountResponse resp = proxy.createAccount(req); System.out.println(resp); }
版权声明:本文为博主原创文章,未经博主允许不得转载。
标签:webservice jdk webservice wsimport jdk wsimport
原文地址:http://blog.csdn.net/boybruce/article/details/47373347