use of com.liumapp.digitalsign.test.ca.tianwei.proxy.UserAPIServicePortTypeProxy in project spring-cloud-digital-sign by SpringForAll.
the class RaService method doScript.
/**
* 调用自定义脚本(CA扩展机制)
*
* @throws JSONException
*/
public JSONObject doScript(String scriptName, String jsonMap) throws JSONException {
JSONObject ret = new JSONObject();
try {
UserAPIServicePortTypeProxy proxy = axisUtil.getProxyNow();
String result = proxy.doScript(scriptName, jsonMap);
ret.put("code", "0");
ret.put("msg", "");
ret.put("result", result);
} catch (Exception e) {
ret.put("code", "20010101");
ret.put("msg", errorCode.getErrorCode().get(20010101) + ":" + e.getMessage());
return ret;
}
return ret;
}
Aggregations