INBOUND_REQUEST_MESSAGE 저장 위치 변경. 순수한 Request body값 저장하도록.
This commit is contained in:
@@ -239,8 +239,12 @@ public class ApiAdapterService extends HttpAdapterServiceSupport {
|
|||||||
|
|
||||||
if (paramValue == null) { // parameter가 없는 경우때문에 처리
|
if (paramValue == null) { // parameter가 없는 경우때문에 처리
|
||||||
paramValue = "";
|
paramValue = "";
|
||||||
}
|
}
|
||||||
else { // jwhong decrypt
|
// 순수한 Body값을 저장을 위해 위치 변경.
|
||||||
|
transactionProp.put(INBOUND_REQUEST_MESSAGE, paramValue);
|
||||||
|
|
||||||
|
// paramValue가 null이 아닌 빈문자열(""," ")인 경우에 대비하여 조건 수정.
|
||||||
|
if (StringUtils.isNotBlank(paramValue)) { // jwhong decrypt
|
||||||
paramValue = doPreDecryption(paramValue, transactionProp, request);
|
paramValue = doPreDecryption(paramValue, transactionProp, request);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -296,7 +300,8 @@ public class ApiAdapterService extends HttpAdapterServiceSupport {
|
|||||||
message = "";
|
message = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
transactionProp.put(INBOUND_REQUEST_MESSAGE, message);
|
// 위치변경 : 가공되지 않은 Body값을 저장하기 위하여 위쪽으로 이동.
|
||||||
|
// transactionProp.put(INBOUND_REQUEST_MESSAGE, message);
|
||||||
// 로컬 서비스 호출 ,encoding 처리 추가
|
// 로컬 서비스 호출 ,encoding 처리 추가
|
||||||
String result = (String) service(adptGrpName, adptName, message, transactionProp, request, response);
|
String result = (String) service(adptGrpName, adptName, message, transactionProp, request, response);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user