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); } }