OSB Web Service invocation -> Error HTTP 413 - "Request Entity Too Large" (Doc ID 1315605.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle Service Bus - Version 11.1.1.3.0 and later
Information in this document applies to any platform.
***Checked for relevance on 03-March-2014***

Symptoms

User has a Web Service endpoint invoked by an OSB business service. Although payload is very small, user is intermittently getting HTTP 413 error, regardless of what client is used (test browser, or other):

<con:metadata xmlns:con="http://www.bea.com/wli/sb/test/config">
<tran:headers xsi:type="http:HttpResponseHeaders" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:tran="http://www.bea.com/wli/sb/transports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<http:Connection>close</http:Connection>
<http:Content-Type>text/html; charset=iso-8859-1</http:Content-Type>
<http:Date>Wed, 06 Apr 2011 10:04:54 GMT</http:Date>
<http:Server>Apache/2.2.0 (Unix) PHP/5.1.3-dev</http:Server>
</tran:headers>
<tran:response-code xmlns:tran="http://www.bea.com/wli/sb/transports">1</tran:response-code>
<tran:response-message xmlns:tran="http://www.bea.com/wli/sb/transports">Request Entity Too Large</tran:response-message>
<tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">iso-8859-1</tran:encoding>
<http:http-response-code xmlns:http="http://www.bea.com/wli/sb/transports/http">413</http:http-response-code>
</con:metadata>



User also observed that this issue occurred when the 2nd invocation was made immediately (within 15 secs) after the response received from 1st invocation.

Increasing Max Post Size (MaxPostSize) did not help. The max post size on the server (Apache 2.0) hosting the web service was 100M - increased it to 200M but still same issue.

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