“Request Entity Too Large” returned from Business Service in OSB

We encountered a problem when calling a business service in the OSB. We where connecting to an external server over https. Calling the service using SoapUI was no problem at all but sending the same xml using the OSB resulted in a “Request Entity Too Large” which was kind of strange since the request was quite small.

After a while a collegue pointed me to a Oracle support call where we found that ‘Using chunked streaming mode’ on the business service might cause this problem. This option is located under Advances Settings on the HTTP transport tab of the business service.

After unchecking and deploying it, it fixed the problem. This option is default checked. The service call solution states:

Chunking helps optimize traffic under heavy traffic with large payloads. If payload is not particularly large disabling chunking should have no adverse effects.

Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.