3a96a16b63df4d408b36f8fe40c9e55ffc374db8.svn-base
1.49 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
package ws.loushang;
public class JrrzServiceProxy implements ws.loushang.JrrzService {
private String _endpoint = null;
private ws.loushang.JrrzService jrrzService = null;
public JrrzServiceProxy() {
_initJrrzServiceProxy();
}
public JrrzServiceProxy(String endpoint) {
_endpoint = endpoint;
_initJrrzServiceProxy();
}
private void _initJrrzServiceProxy() {
try {
jrrzService = (new ws.loushang.JrrzServiceServiceLocator()).getJrrzServicePort();
if (jrrzService != null) {
if (_endpoint != null)
((javax.xml.rpc.Stub)jrrzService)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
else
_endpoint = (String)((javax.xml.rpc.Stub)jrrzService)._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 (jrrzService != null)
((javax.xml.rpc.Stub)jrrzService)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
}
public ws.loushang.JrrzService getJrrzService() {
if (jrrzService == null)
_initJrrzServiceProxy();
return jrrzService;
}
public java.lang.String exchangeInfo(java.lang.String args0) throws java.rmi.RemoteException{
if (jrrzService == null)
_initJrrzServiceProxy();
return jrrzService.exchangeInfo(args0);
}
}