IBM Support

PH64615:Default namespace is added to a SOAP element that already has a namespace prefix

Download


Downloadable File

File link File size File description

Abstract

Outbound SOAP requests have duplicate namespaces for the same SOAP Element, one with a prefix and one default namespace, after upgrading Liberty from Java 8.

Download Description

PH64615 resolves the following problem:

ERROR DESCRIPTION:
After a Liberty server is upgraded from Java 8 to a newer version, the web services runtime adds the default namespace to SOAP elements that already have a namespace prefix, resulting in two namespaces for the element.
Example:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
	<SOAP-ENV:Header/>
	<SOAP-ENV:Body>
		<ns0:getSomething xmlns="http://duplicated.namespace/" 
                              xmlns:ns0="http://duplicated.namespace/">
		</ns0:getSomething>
        ...
	</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

PROBLEM SUMMARY

USERS AFFECTED:
Users of IBM WebSphere Application Server Liberty Core and Web Services who upgraded from Java 8 to a newer versions.

PROBLEM DESCRIPTION:
Outbound SOAP requests have more than one namespace for the same SOAP Element: one with a prefix and one default namespace.  This issue is observed after upgrading from Java 8 to newer versions.

RECOMMENDATION:
Install an interim fix or fix pack that includes this APAR.

PROBLEM CONCLUSION:
The constructor of the SOAP Element is modified to make sure that the prefix exists in elementQName field when the  io.openliberty.saaj.disableDuplicateNS system property is set to true. The default is false.

https://github.com/OpenLiberty/open-liberty/pull/30225

The fix for this APAR is targeted for inclusion in fix pack 25.0.0.1.
For more information, see Recommended Updates for WebSphere Application Server: https://www.ibm.com/support/pages/node/715553

Prerequisites

None

Download Package

 
IMPORTANT NOTE:
WebSphere Application Server and Liberty fix access requires S&S Entitlement beginning in 2021. Use properly registered IDs to download the fixes in this table. 

Signature file is provided along with interim fix. See Verifying WebSphere Application Server release packages and Verifying Liberty release packages.
DOWNLOAD RELEASE DATE SIZE(Bytes)

URL

24.0.0.12-WS-WLP-IFPH64615 27 December 2024 1689889 FC
24.0.0.6-WS-WLP-IFPH64615 27 December 2024 1681789 FC
24.0.0.9-WS-WLP-IFPH64615 27 December 2024 1688315 FC
24006-wlp-archive-IFPH64615 27 December 2024 1620862 FC
24009-wlp-archive-IFPH64615 27 December 2024 1627833 FC
240012-wlp-archive-IFPH64615 27 December 2024 1629299 FC
Note: FC stands for Fix Central. Review the What is Fix Central (FC)? FAQs for more details.

Problems Solved

PH64615

On

Technical Support

Contact IBM Support at https://www.ibm.com/mysupport/ or 1-800-IBM-SERV (US only).

Document Location

Worldwide

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Component":"General","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF012","label":"IBM i"},{"code":"PF016","label":"Linux"},{"code":"PF017","label":"Mac OS"},{"code":"PF033","label":"Windows"},{"code":"PF035","label":"z\/OS"}],"Version":"24.0.0.12;24.0.0.6;24.0.0.9","Edition":"Base","Line of Business":{"code":"LOB67","label":"IT Automation \u0026 App Modernization"}}]

Document Information

Modified date:
02 January 2025

UID

ibm17180012