Large (>10MB) SOAP Responses Are Truncated in Oracle API Gateway (Doc ID 2245235.1)

Last updated on MARCH 21, 2017

Applies to:

Oracle API Gateway - Version 11.1.2 and later
Information in this document applies to any platform.

Symptoms

Currently migrating from Oracle Enterprise Gateway 11.1.1.6.1 to Oracle API Gateway 11.1.2.4.0 SP4. After the upgrade, there is an issue with a service that returns a very large XML payload. 

When the response is returned from OAG, it is truncated to 10MB and the remaining data is discarded. 

The following error is seen in the gateway trace file.

ERROR
-----------------------
FATAL  [6244:72a9ca58a0069caeda145f41] Failed relaying content (con=0x22e0330,endpoint=aragorn-back.kj.shdir.no:7001,bio=0xc82b80 max read/write len reached 10485760)
ERROR  [6244:72a9ca58a0069caeda145f41] java error 7713 writing response:
java.io.IOException: con=0x22e0330,endpoint=myservice.com:7001,bio=0xc82b80 max read/write len reached 10485760
  at com.vordel.dwe.NativeContentSource.relayN(Native Method)
  at com.vordel.dwe.NativeContentSource.relay(NativeContentSource.java:39)
  at com.vordel.mime.Body.write(Body.java:377)
  at com.vordel.dwe.http.ServerTransaction.sendResponseN(Native Method)
  at com.vordel.dwe.http.ServerTransaction.sendResponse(ServerTransaction.java:36)
  at com.vordel.dwe.http.HTTPPlugin.invokeDispose(HTTPPlugin.java:462)
  at com.vordel.dwe.http.HTTPPlugin.invoke(HTTPPlugin.java:143)
(connection closed at )

NOTE: any reference to myservice.com:7001 should be replaced with the connection URL being used in whatever environment the problem is being seen.

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