Technology Stack - EBS (MOSC)

MOSC Banner

Returning http status code 404 for exception in Integrated SOA Gateway EBS 12.1.3. as RESTful webser

edited Mar 5, 2018 1:30AM in Technology Stack - EBS (MOSC) 3 commentsAnswered

I have deployed a PL/SQL RESTful web service in EBS 12.1.3 and it is working fine except for an issue I have with exception handling.

When there is an exception, I would like to return a http status code '404'. By default it is returning http 500 :

{<br/> "ISGServiceFault" : {<br/>  "Code" : "ISG_SERVICE_EXECUTION_ERROR",<br/>  "Message" : "Error while executing service",<br/>  "Resolution" : "Please check Server logs.",<br/>  "ServiceDetails" : {<br/>  "ServiceName" : "xxxwebservices",<br/>  "OperationName" : "xxxretrieve_inventory_info",<br/>  "InstanceId" : "0"<br/>  }<br/> }<br/>}

How can I return http 404 in exception handling for a PL/SQL RESTful web service?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center