WLS 10.3 - Unable to print SOAP request using SOAPEnvelope.toString()

(Doc ID 1102593.1)

Last updated on JUNE 09, 2016

Applies to:

Oracle Weblogic Server - Version: 10.3 and later   [Release: and later ]
Information in this document applies to any platform.


In Weblogic 8.1 (WLS), we can print the whole web service SOAP request using the following methods:

SOAPEnvelope se=null;
se = ((SOAPMessageContext)messageContext).getMessage().getSOAPPart().getEnvelope();

When trying to achieve the same in WLS 10.3 using the following methods:


WLS 10.3 outputs the following, rather than the complete SOAP request:




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