OSB Web Service invocation -> Error HTTP 413 - "Request Entity Too Large"
Last updated on NOVEMBER 03, 2016
Applies to:Oracle Service Bus - Version 126.96.36.199.0 and later
Information in this document applies to any platform.
***Checked for relevance on 03-March-2014***
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):
<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: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:response-message xmlns:tran="http://www.bea.com/wli/sb/transports">Request Entity Too Large</tran:response-message>
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.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms