My Oracle Support Banner

Missing Line Break After <?xml version="1.0" encoding="UTF-8"?> in Response XML When Running Application on Weblogic 12.2.1.3 (Doc ID 2660520.1)

Last updated on JUNE 20, 2024

Applies to:

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

Symptoms

Different xml format created on 12.2.1.3, comparing to 10.3.6

The end of line (\n) is missing after <?xml version="1.0" encoding="UTF-8"?> In Response when calling one web service on 12.2.1.3    But line break existed in 10.3.6 response message.

 

12.2.1.3 Response:
--------------
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns0:deLinkERSRecordResponse xmlns:ns0="[url]">

<return><![CDATA[<?xml version="1.0" encoding="UTF-8"?><element_name>......</element_name>]]></return>

</ns0:deLinkERSRecordResponse>
</S:Body>
</S:Envelope>
--------------

10.3.6 Response
--------------
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:deLinkERSRecordResponse xmlns:ns2="[url]">

<return><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<element_name>......</element_name>]]></return>

</ns2:deLinkERSRecordResponse>
</S:Body>
</S:Envelope>
--------------

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


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