OSB 11g: 'HTTP 411 Length Required' Error when Invoking REST Service from OSB
(Doc ID 1558944.1)
Last updated on MARCH 27, 2020
Applies to:
Oracle Service Bus - Version 11.1.1.6.0 and laterInformation in this document applies to any platform.
Symptoms
When trying to invoke a REST service from OSB using HTTP POST, encounter the following error:
...
<h2>Requested URL cannot be found</h2>
<p>We are sorry, but the page you are looking for cannot be found. The page has either been removed, renamed or is temporarily unavailable.</p>
<p><font color="red">(411 Length Required)</font></p>
...
<h2>Requested URL cannot be found</h2>
<p>We are sorry, but the page you are looking for cannot be found. The page has either been removed, renamed or is temporarily unavailable.</p>
<p><font color="red">(411 Length Required)</font></p>
...
The same service can be successfully invoked using an external REST client e.g Google Chrome's extension - 'REST Console' or the 'RESTClient' add-on for Mozilla Firefox.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |