78 lines
2.2 KiB
Java
78 lines
2.2 KiB
Java
package com.tenwa.invoice;
|
|
|
|
public class IAutokpProxy implements com.tenwa.invoice.IAutokp {
|
|
private String _endpoint = null;
|
|
private com.tenwa.invoice.IAutokp iAutokp = null;
|
|
|
|
public IAutokpProxy() {
|
|
_initIAutokpProxy();
|
|
}
|
|
|
|
public IAutokpProxy(String endpoint) {
|
|
_endpoint = endpoint;
|
|
_initIAutokpProxy();
|
|
}
|
|
|
|
private void _initIAutokpProxy() {
|
|
try {
|
|
iAutokp = (new com.tenwa.invoice.IAutokpserviceLocator()).getIAutokpPort();
|
|
if (iAutokp != null) {
|
|
if (_endpoint != null)
|
|
((javax.xml.rpc.Stub)iAutokp)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
|
|
else
|
|
_endpoint = (String)((javax.xml.rpc.Stub)iAutokp)._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 (iAutokp != null)
|
|
((javax.xml.rpc.Stub)iAutokp)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
|
|
|
|
}
|
|
|
|
public com.tenwa.invoice.IAutokp getIAutokp() {
|
|
if (iAutokp == null)
|
|
_initIAutokpProxy();
|
|
return iAutokp;
|
|
}
|
|
|
|
public java.lang.String invoice(java.lang.String fpxx) throws java.rmi.RemoteException{
|
|
if (iAutokp == null)
|
|
_initIAutokpProxy();
|
|
return iAutokp.invoice(fpxx);
|
|
}
|
|
|
|
public java.lang.String invoice_pr(java.lang.String fpxx) throws java.rmi.RemoteException{
|
|
if (iAutokp == null)
|
|
_initIAutokpProxy();
|
|
return iAutokp.invoice_pr(fpxx);
|
|
}
|
|
|
|
public java.lang.String invoice_fpzf(java.lang.String fpxx) throws java.rmi.RemoteException{
|
|
if (iAutokp == null)
|
|
_initIAutokpProxy();
|
|
return iAutokp.invoice_fpzf(fpxx);
|
|
}
|
|
|
|
public java.lang.String getfph(java.lang.String fpxx) throws java.rmi.RemoteException{
|
|
if (iAutokp == null)
|
|
_initIAutokpProxy();
|
|
return iAutokp.getfph(fpxx);
|
|
}
|
|
|
|
public java.lang.String invoice_qdpr(java.lang.String fpxx) throws java.rmi.RemoteException{
|
|
if (iAutokp == null)
|
|
_initIAutokpProxy();
|
|
return iAutokp.invoice_qdpr(fpxx);
|
|
}
|
|
|
|
|
|
} |