summaryrefslogtreecommitdiff
path: root/lib/soap/ecc/send/pcr-confirm.ts
diff options
context:
space:
mode:
Diffstat (limited to 'lib/soap/ecc/send/pcr-confirm.ts')
-rw-r--r--lib/soap/ecc/send/pcr-confirm.ts10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/soap/ecc/send/pcr-confirm.ts b/lib/soap/ecc/send/pcr-confirm.ts
index 72d4a574..439ec6f8 100644
--- a/lib/soap/ecc/send/pcr-confirm.ts
+++ b/lib/soap/ecc/send/pcr-confirm.ts
@@ -4,7 +4,7 @@
import { sendSoapXml, type SoapSendConfig, type SoapLogInfo, type SoapSendResult } from "@/lib/soap/sender";
// ECC PCR 확인 엔드포인트 (WSDL에 명시된 P2038_D 사용)
-const ECC_PCR_CONFIRM_ENDPOINT = "http://shii8dvddb01.hec.serp.shi.samsung.net:50000/sap/xi/engine?type=entry&version=3.0&Sender.Service=P2038_D&Interface=http%3A%2F%2Fshi.samsung.co.kr%2FP2_MM%2FMMM%5EP2MM3019_SO&QualityOfService=ExactlyOnce";
+const ECC_PCR_CONFIRM_ENDPOINT = "http://shii8dvddb01.hec.serp.shi.samsung.net:50000/sap/xi/engine?type=entry&version=3.0&Sender.Service=P2038_Q&Interface=http%3A%2F%2Fshi.samsung.co.kr%2FP2_MM%2FMMM%5EP2MM3019_SO";
// PCR 확인 요청 데이터 타입
export interface PCRConfirmRequest {
@@ -227,6 +227,10 @@ export async function confirmPCR(pcrItem: {
success: boolean;
message: string;
responseData?: string;
+ statusCode?: number;
+ headers?: Record<string, string>;
+ endpoint?: string;
+ requestXml?: string;
pcrRequest?: string;
}> {
try {
@@ -242,6 +246,10 @@ export async function confirmPCR(pcrItem: {
success: result.success,
message: result.success ? 'PCR 확인 요청이 성공적으로 전송되었습니다.' : result.message,
responseData: result.responseText,
+ statusCode: result.statusCode,
+ headers: result.headers,
+ endpoint: result.endpoint,
+ requestXml: result.requestXml,
pcrRequest: `${pcrItem.PCR_REQ}-${pcrItem.PCR_REQ_SEQ}`
};