diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-05-09 07:58:04 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-05-09 07:58:04 +0000 |
| commit | 7b3bbba248c5af067e07e6d523b78a795c309c5f (patch) | |
| tree | f234c17a31f4a072a5634e6a1a37c7bf7655bc47 /app | |
| parent | faf268d9f46f6de0da6bf1d1ec7164257e79633d (diff) | |
[김준회] ECC 응답 포맷 수정정
Diffstat (limited to 'app')
| -rw-r--r-- | app/api/(S-ERP)/(ECC)/IF_ECC_EVCP_BIDDING_PROJECT/route.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app/api/(S-ERP)/(ECC)/IF_ECC_EVCP_BIDDING_PROJECT/route.ts b/app/api/(S-ERP)/(ECC)/IF_ECC_EVCP_BIDDING_PROJECT/route.ts index ae34e7b6..8a0b4b9c 100644 --- a/app/api/(S-ERP)/(ECC)/IF_ECC_EVCP_BIDDING_PROJECT/route.ts +++ b/app/api/(S-ERP)/(ECC)/IF_ECC_EVCP_BIDDING_PROJECT/route.ts @@ -101,13 +101,12 @@ export async function POST(request: NextRequest) { xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tns="http://60.101.108.100/"> <soap:Body> - <tns:processResponse/> </soap:Body> </soap:Envelope>`; return new NextResponse(soapResponse, { headers: { - 'Content-Type': 'application/soap+xml; charset=utf-8', + 'Content-Type': 'text/xml; charset=utf-8', }, }); } catch (error: unknown) { @@ -127,7 +126,7 @@ export async function POST(request: NextRequest) { return new NextResponse(errorResponse, { status: 500, headers: { - 'Content-Type': 'application/soap+xml; charset=utf-8', + 'Content-Type': 'text/xml; charset=utf-8', }, }); } |
