How to set explicitly Http status: 500 for error response in OIC
Summary
To set Http error status 500 to the response in OIC.Content
Hi,
I got below response from Oracle having ReturnStatus: ERROR, then need to send the HTTP status: 500 to the source system.
Please suggest how to set the explicitly HTTP status in OIC.
<ns0:createOrdersResponse xmlns:ns0="http://xmlns.oracle.com/apps/scm/fom/importOrders/orderImportService/types/">
<ns1:result xsi:type="ns0:OrderImportResponse" xmlns:ns1="http://xmlns.oracle.com/apps/scm/fom/importOrders/orderImportService/types/" xmlns:ns0="http://xmlns.oracle.com/apps/scm/fom/importOrders/orderImportService/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ns0:SourceTransactionNumber>5432</ns0:SourceTransactionNumber>
Tagged:
1