You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to set explicitly Http status: 500 for error response in OIC

edited Jul 13, 2018 9:06AM in Integration

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/"&gt;
         <ns1:result xsi:type="ns0:OrderImportResponse" xmlns:ns1="http://xmlns.oracle.com/apps/scm/fom/importOrders/orderImportService/types/&quot; xmlns:ns0="http://xmlns.oracle.com/apps/scm/fom/importOrders/orderImportService/&quot; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
            <ns0:SourceTransactionNumber>5432</ns0:SourceTransactionNumber>

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!