diff options
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', }, }); } |
