Using ESB a SOAP Fault Generates Incorrect Code HTTP 200 Instead of HTTP 500 (Doc ID 973555.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle SOA Platform - Version: 10.1.3.4.0 to 10.1.3.5.0
Information in this document applies to any platform.
***Checked for relevance on 25-Oct-2011***

Symptoms

The SOAP/HTTP Web services standard specifies that when a SOAP Fault is generated, the corresponding HTTP Code with the SOAP Fault should be HTTP 500.

This is clearly mentioned in <> How To Stop Client Application Receive HTTP 500 Error When BPEL Process Throws SOAP Faults as well.

However, when an ESB Service is invoked using SOAP and a fault occurs, it returns a HTTP 200 error code:

HTTP/1.x 200 OK
Date: Wed, 27 May 2009 23:04:39 GMT
Server: Oracle-Application-Server-10g/10.1.3.4.0 Oracle-HTTP-Server
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8

Cause

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