use of com.liumapp.digitalsign.test.ca.tianwei.error.RaServiceUnavailable in project spring-cloud-digital-sign by SpringForAll.
the class UserAPIServiceSoapBindingStub method pickupCert.
public CertInfo pickupCert(String certPin, String certReqChallenge, String certReqBuf, String accountHash, String json) throws java.rmi.RemoteException, RaServiceUnavailable {
if (super.cachedEndpoint == null) {
throw new org.apache.axis.NoEndPointException();
}
org.apache.axis.client.Call _call = createCall();
_call.setOperation(_operations[9]);
_call.setUseSOAPAction(true);
_call.setSOAPActionURI("");
_call.setEncodingStyle(null);
_call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
_call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
_call.setOperationName(new QName("http://service.ra.tca.topca.cn/", "pickupCert"));
setRequestHeaders(_call);
setAttachments(_call);
try {
java.lang.Object _resp = _call.invoke(new java.lang.Object[] { certPin, certReqChallenge, certReqBuf, accountHash, json });
if (_resp instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException) _resp;
} else {
extractAttachments(_call);
try {
return (CertInfo) _resp;
} catch (java.lang.Exception _exception) {
return (CertInfo) org.apache.axis.utils.JavaUtils.convert(_resp, CertInfo.class);
}
}
} catch (org.apache.axis.AxisFault axisFaultException) {
if (axisFaultException.detail != null) {
if (axisFaultException.detail instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException) axisFaultException.detail;
}
if (axisFaultException.detail instanceof RaServiceUnavailable) {
throw (RaServiceUnavailable) axisFaultException.detail;
}
}
throw axisFaultException;
}
}
use of com.liumapp.digitalsign.test.ca.tianwei.error.RaServiceUnavailable in project spring-cloud-digital-sign by SpringForAll.
the class UserAPIServiceSoapBindingStub method downloadCRL.
public String downloadCRL(String accountHash) throws java.rmi.RemoteException, RaServiceUnavailable {
if (super.cachedEndpoint == null) {
throw new org.apache.axis.NoEndPointException();
}
org.apache.axis.client.Call _call = createCall();
_call.setOperation(_operations[1]);
_call.setUseSOAPAction(true);
_call.setSOAPActionURI("");
_call.setEncodingStyle(null);
_call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
_call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
_call.setOperationName(new QName("http://service.ra.tca.topca.cn/", "downloadCRL"));
setRequestHeaders(_call);
setAttachments(_call);
try {
java.lang.Object _resp = _call.invoke(new java.lang.Object[] { accountHash });
if (_resp instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException) _resp;
} else {
extractAttachments(_call);
try {
return (String) _resp;
} catch (java.lang.Exception _exception) {
return (String) org.apache.axis.utils.JavaUtils.convert(_resp, String.class);
}
}
} catch (org.apache.axis.AxisFault axisFaultException) {
if (axisFaultException.detail != null) {
if (axisFaultException.detail instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException) axisFaultException.detail;
}
if (axisFaultException.detail instanceof RaServiceUnavailable) {
throw (RaServiceUnavailable) axisFaultException.detail;
}
}
throw axisFaultException;
}
}
use of com.liumapp.digitalsign.test.ca.tianwei.error.RaServiceUnavailable in project spring-cloud-digital-sign by SpringForAll.
the class UserAPIServiceSoapBindingStub method enrollCert.
public void enrollCert(UserInfo userInfo, String certReqBuf, String certReqChallenge, String accountHash, String json) throws java.rmi.RemoteException, RaServiceUnavailable {
if (super.cachedEndpoint == null) {
throw new org.apache.axis.NoEndPointException();
}
org.apache.axis.client.Call _call = createCall();
_call.setOperation(_operations[2]);
_call.setUseSOAPAction(true);
_call.setSOAPActionURI("");
_call.setEncodingStyle(null);
_call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
_call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
_call.setOperationName(new QName("http://service.ra.tca.topca.cn/", "enrollCert"));
setRequestHeaders(_call);
setAttachments(_call);
try {
java.lang.Object _resp = _call.invoke(new java.lang.Object[] { userInfo, certReqBuf, certReqChallenge, accountHash, json });
if (_resp instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException) _resp;
}
extractAttachments(_call);
} catch (org.apache.axis.AxisFault axisFaultException) {
if (axisFaultException.detail != null) {
if (axisFaultException.detail instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException) axisFaultException.detail;
}
if (axisFaultException.detail instanceof RaServiceUnavailable) {
throw (RaServiceUnavailable) axisFaultException.detail;
}
}
throw axisFaultException;
}
}
use of com.liumapp.digitalsign.test.ca.tianwei.error.RaServiceUnavailable in project spring-cloud-digital-sign by SpringForAll.
the class UserAPIServiceSoapBindingStub method suspendCert.
public void suspendCert(String serialNumber, String accountHash, String json) throws java.rmi.RemoteException, RaServiceUnavailable {
if (super.cachedEndpoint == null) {
throw new org.apache.axis.NoEndPointException();
}
org.apache.axis.client.Call _call = createCall();
_call.setOperation(_operations[14]);
_call.setUseSOAPAction(true);
_call.setSOAPActionURI("");
_call.setEncodingStyle(null);
_call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
_call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
_call.setOperationName(new QName("http://service.ra.tca.topca.cn/", "suspendCert"));
setRequestHeaders(_call);
setAttachments(_call);
try {
java.lang.Object _resp = _call.invoke(new java.lang.Object[] { serialNumber, accountHash, json });
if (_resp instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException) _resp;
}
extractAttachments(_call);
} catch (org.apache.axis.AxisFault axisFaultException) {
if (axisFaultException.detail != null) {
if (axisFaultException.detail instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException) axisFaultException.detail;
}
if (axisFaultException.detail instanceof RaServiceUnavailable) {
throw (RaServiceUnavailable) axisFaultException.detail;
}
}
throw axisFaultException;
}
}
use of com.liumapp.digitalsign.test.ca.tianwei.error.RaServiceUnavailable in project spring-cloud-digital-sign by SpringForAll.
the class UserAPIServiceSoapBindingStub method queryCertBySerialNumber.
public QueryCertResult queryCertBySerialNumber(String serialNumber, String accountHash, String json) throws java.rmi.RemoteException, RaServiceUnavailable {
if (super.cachedEndpoint == null) {
throw new org.apache.axis.NoEndPointException();
}
org.apache.axis.client.Call _call = createCall();
_call.setOperation(_operations[10]);
_call.setUseSOAPAction(true);
_call.setSOAPActionURI("");
_call.setEncodingStyle(null);
_call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
_call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
_call.setOperationName(new QName("http://service.ra.tca.topca.cn/", "queryCertBySerialNumber"));
setRequestHeaders(_call);
setAttachments(_call);
try {
java.lang.Object _resp = _call.invoke(new java.lang.Object[] { serialNumber, accountHash, json });
if (_resp instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException) _resp;
} else {
extractAttachments(_call);
try {
return (QueryCertResult) _resp;
} catch (java.lang.Exception _exception) {
return (QueryCertResult) org.apache.axis.utils.JavaUtils.convert(_resp, QueryCertResult.class);
}
}
} catch (org.apache.axis.AxisFault axisFaultException) {
if (axisFaultException.detail != null) {
if (axisFaultException.detail instanceof java.rmi.RemoteException) {
throw (java.rmi.RemoteException) axisFaultException.detail;
}
if (axisFaultException.detail instanceof RaServiceUnavailable) {
throw (RaServiceUnavailable) axisFaultException.detail;
}
}
throw axisFaultException;
}
}
Aggregations