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 list = webService.queryQyjbxx(null, "公司", "10000656", null, null); list.get(0).toString(); List gkList = webService.queryYhgk("2013-03", null); gkList.size(); List lbList = webService.queryYhlb(null, "2015-01"); lbList.size(); List jbList = webService.queryYhjb("2014-03", "2014-05"); jbList.size(); List hyList = webService.queryHylb(null, null); hyList.size(); } }