|
@ -77,7 +77,6 @@ public class PrescriptionCAService {
|
|
Map<String,String> p = new HashMap<>();
|
|
Map<String,String> p = new HashMap<>();
|
|
p.put("msgHeader",msgHeader);
|
|
p.put("msgHeader",msgHeader);
|
|
p.put("msgBody",msgBody);
|
|
p.put("msgBody",msgBody);
|
|
|
|
|
|
return WebserviceUtil.post(urlString,namespace,unifiedCallInterface,p);
|
|
return WebserviceUtil.post(urlString,namespace,unifiedCallInterface,p);
|
|
}
|
|
}
|
|
|
|
|
|
@ -233,6 +232,7 @@ public class PrescriptionCAService {
|
|
String re = "";
|
|
String re = "";
|
|
String body = "";
|
|
String body = "";
|
|
String error = "";
|
|
String error = "";
|
|
|
|
Throwable errorLog =null;
|
|
String action = MODIFY_PASSWD;
|
|
String action = MODIFY_PASSWD;
|
|
try {
|
|
try {
|
|
Map<String,String> params = new HashMap<>();
|
|
Map<String,String> params = new HashMap<>();
|
|
@ -259,6 +259,7 @@ public class PrescriptionCAService {
|
|
isSuccess = false;
|
|
isSuccess = false;
|
|
ex.printStackTrace();
|
|
ex.printStackTrace();
|
|
error = ex.getMessage();
|
|
error = ex.getMessage();
|
|
|
|
errorLog = ex.getCause();
|
|
}
|
|
}
|
|
|
|
|
|
//保存http日志
|
|
//保存http日志
|
|
@ -268,6 +269,10 @@ public class PrescriptionCAService {
|
|
{
|
|
{
|
|
throw new Exception(error);
|
|
throw new Exception(error);
|
|
}
|
|
}
|
|
|
|
if(errorLog!=null)
|
|
|
|
{
|
|
|
|
throw new Exception("CA服务器维护中。。。");
|
|
|
|
}
|
|
|
|
|
|
return re;
|
|
return re;
|
|
}
|
|
}
|