123456789101112131415161718192021222324252627282930313233343536373839 |
- package com.jtgh.yjpt.client;
- import java.net.URL;
- import java.util.List;
- import com.jtgh.yjpt.client.ajj.AjjService;
- import com.jtgh.yjpt.client.ajj.AjjWebService;
- import com.jtgh.yjpt.entity.ajj.HylbtjEntity;
- import com.jtgh.yjpt.entity.ajj.QyjbxxEntity;
- import com.jtgh.yjpt.entity.ajj.YhgktjEntity;
- import com.jtgh.yjpt.entity.ajj.YhjbtjEntity;
- import com.jtgh.yjpt.entity.ajj.YhlbtjEntity;
- public class AjjTest {
- public static void main(String[] args) {
- URL wsdlLocation = AjjService.getWsdlLocationByIp("192.168.0.19",
- "8088");
- AjjService ajjService = new AjjService(wsdlLocation,
- AjjService.AJJSERVICE_QNAME);
- AjjWebService webService = ajjService.getAjjWebServicePort();
- List<QyjbxxEntity> list = webService.queryQyjbxx(null, "公司",
- "10000656", null, null);
- list.get(0).toString();
- List<YhgktjEntity> gkList = webService.queryYhgk("2013-03", null);
- gkList.size();
- List<YhlbtjEntity> lbList = webService.queryYhlb(null, "2015-01");
- lbList.size();
- List<YhjbtjEntity> jbList = webService.queryYhjb("2014-03", "2014-05");
- jbList.size();
- List<HylbtjEntity> hyList = webService.queryHylb(null, null);
- hyList.size();
- }
- }
|