123456789101112131415161718192021222324252627282930313233343536373839 |
- package com.jtgh.yjpt.client;
- import java.net.URL;
- import java.util.Locale;
- import java.util.ResourceBundle;
- //
- //import com.jtgh.yjpt.client.zysqbp.ZysqbpService;
- //import com.jtgh.yjpt.client.zysqbp.ZysqbpWebService;
- import com.jtgh.yjpt.entity.zysqbp.ZysqbpEntity;
- public class ZysqbpTestClient {
- public static void main(String[] args) {
- // URL wsdlLocation = ZysqbpService.getWsdlLocationByIp(
- // "localhost", "8088");
- // ZysqbpService zysqbpService = new ZysqbpService(wsdlLocation,
- // ZysqbpService.ZYSQBPSERVICE_QNAME);
- // ZysqbpWebService webService = zysqbpService.getZysqbpWebServicePort();
- //// // test findOne
- // Long a = 153250L;
- // ZysqbpEntity entity = webService.findOne(a);
- //
- // // test save
- // ZysqbpEntity newData = new ZysqbpEntity();
- // newData.setHmhc("test");
- // newData.setSlh("test");
- // ZysqbpEntity newData2 = webService.save(newData);
- // System.out.println("新增成功:"+newData2.getId());
-
- // test delete
- // ZysqbpEntity willDel = new ZysqbpEntity();
- // willDel.setId(141650L);
- // webService.delete(willDel);
- ResourceBundle resource = ResourceBundle.getBundle("select");
- String driverName = resource.getString("database.driver");
- }
- }
|