My Oracle Support Banner

Java.lang.StackOverflowError is Thrown When Calling the SoapMessage.writeto Method (Doc ID 1992086.1)

Last updated on DECEMBER 16, 2023

Applies to:

Oracle WebLogic Server - Version 10.3.6 and later
Information in this document applies to any platform.

Symptoms

When a consumer sends a SOAP message with white spaces in the SOAP body, a SoapHandler on producer side which calls SoapMessage.writeTo(OutputStream o) will endup with an endless recursion causing a StackOverflowError.

Normally, application servers and other consumers try to keep the SOAP message as short as possible for performance reasons. If however the consumer is a tool like SoapUI or an application with template based WebService calls (like Oracle OBPM), then it os likely that the SOAP message is formatted and contains spaces and line breaks between elements in the message.



Changes

 

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
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.