Java.lang.StackOverflowError Is Thrown When Calling The SoapMessage.writeto Method
(Doc ID 1992086.1)
Last updated on APRIL 05, 2018
Applies to:Oracle WebLogic Server - Version 10.3.6 and later
Information in this document applies to any platform.
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.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!