ZKInvoiceServiceProxy.java
2.81 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
78
79
80
81
82
83
84
package com.ejinshui.service;
public class ZKInvoiceServiceProxy implements com.ejinshui.service.ZKInvoiceService {
private String _endpoint = null;
private com.ejinshui.service.ZKInvoiceService zKInvoiceService = null;
public ZKInvoiceServiceProxy() {
_initZKInvoiceServiceProxy();
}
public ZKInvoiceServiceProxy(String endpoint) {
_endpoint = endpoint;
_initZKInvoiceServiceProxy();
}
private void _initZKInvoiceServiceProxy() {
try {
zKInvoiceService = (new com.ejinshui.service.impl.AsyncInvoiceServiceServiceLocator()).getAsyncInvoiceServicePort();
if (zKInvoiceService != null) {
if (_endpoint != null)
((javax.xml.rpc.Stub)zKInvoiceService)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
else
_endpoint = (String)((javax.xml.rpc.Stub)zKInvoiceService)._getProperty("javax.xml.rpc.service.endpoint.address");
}
}
catch (javax.xml.rpc.ServiceException serviceException) {}
}
public String getEndpoint() {
return _endpoint;
}
public void setEndpoint(String endpoint) {
_endpoint = endpoint;
if (zKInvoiceService != null)
((javax.xml.rpc.Stub)zKInvoiceService)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
}
public com.ejinshui.service.ZKInvoiceService getZKInvoiceService() {
if (zKInvoiceService == null)
_initZKInvoiceServiceProxy();
return zKInvoiceService;
}
public java.lang.String splitDownloadEInvoiceInfo(java.lang.String arg0) throws java.rmi.RemoteException{
if (zKInvoiceService == null)
_initZKInvoiceServiceProxy();
return zKInvoiceService.splitDownloadEInvoiceInfo(arg0);
}
public java.lang.String downloadEInvoiceInfo(java.lang.String arg0) throws java.rmi.RemoteException{
if (zKInvoiceService == null)
_initZKInvoiceServiceProxy();
return zKInvoiceService.downloadEInvoiceInfo(arg0);
}
public java.lang.String getKPYL(java.lang.String arg0) throws java.rmi.RemoteException{
if (zKInvoiceService == null)
_initZKInvoiceServiceProxy();
return zKInvoiceService.getKPYL(arg0);
}
public java.lang.String submitEInvoiceInfo(java.lang.String arg0) throws java.rmi.RemoteException{
if (zKInvoiceService == null)
_initZKInvoiceServiceProxy();
return zKInvoiceService.submitEInvoiceInfo(arg0);
}
public java.lang.String redSubmitEInvoiceInfo(java.lang.String arg0) throws java.rmi.RemoteException{
if (zKInvoiceService == null)
_initZKInvoiceServiceProxy();
return zKInvoiceService.redSubmitEInvoiceInfo(arg0);
}
public java.lang.String getInsertWechatUrl(java.lang.String arg0) throws java.rmi.RemoteException{
if (zKInvoiceService == null)
_initZKInvoiceServiceProxy();
return zKInvoiceService.getInsertWechatUrl(arg0);
}
}