How to Remove Oracle Error Codes from HTTP Response when Calling Web Service

(Doc ID 1938172.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.1 to 12.1.0.2 [Release 11.2 to 12.1]
Information in this document applies to any platform.

Goal

How to remove Oracle error texts and codes from HTTP response when calling a database native web service which somehow fails?
Example of HTTP response for errors raised in called PLSQL procedure:

 

Solution

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms