PJDataSerivceSoap_PJDataSerivceSoap_Client.java
2.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
package com.bsth.wsdl;
/**
* Please modify this class to meet your needs
* This class is not complete
*/
import javax.xml.namespace.QName;
import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
/**
* This class was generated by Apache CXF 3.3.2
* 2019-06-25T10:55:23.780+08:00
* Generated source version: 3.3.2
*
*/
public final class PJDataSerivceSoap_PJDataSerivceSoap_Client {
private static final QName SERVICE_NAME = new QName("http://www.pd-transport.com/", "PJDataSerivce");
private PJDataSerivceSoap_PJDataSerivceSoap_Client() {
}
public static void main(String args[]) throws Exception {
URL wsdlURL = PJDataSerivce.WSDL_LOCATION;
if (args.length > 0 && args[0] != null && !"".equals(args[0])) {
File wsdlFile = new File(args[0]);
try {
if (wsdlFile.exists()) {
wsdlURL = wsdlFile.toURI().toURL();
} else {
wsdlURL = new URL(args[0]);
}
} catch (MalformedURLException e) {
e.printStackTrace();
}
}
PJDataSerivce ss = new PJDataSerivce(wsdlURL, SERVICE_NAME);
PJDataSerivceSoap port = ss.getPJDataSerivceSoap();
{
System.out.println("Invoking getRetiredInfor...");
String _getRetiredInfor_unintCode = "";
String _getRetiredInfor_beginDate = "";
String _getRetiredInfor_endDate = "";
String _getRetiredInfor__return = port.getRetiredInfor(_getRetiredInfor_unintCode, _getRetiredInfor_beginDate, _getRetiredInfor_endDate);
System.out.println("getRetiredInfor.result=" + _getRetiredInfor__return);
}
{
System.out.println("Invoking getPAItem...");
int _getPAItem_year = 0;
int _getPAItem_period = 0;
String _getPAItem__return = port.getPAItem(_getPAItem_year, _getPAItem_period);
System.out.println("getPAItem.result=" + _getPAItem__return);
}
{
System.out.println("Invoking getEmployee...");
String _getEmployee_unintCode = "";
String _getEmployee_idCard = "";
String _getEmployee__return = port.getEmployee(_getEmployee_unintCode, _getEmployee_idCard);
System.out.println("getEmployee.result=" + _getEmployee__return);
}
System.exit(0);
}
}