WSDL Generated Integer Array Field is Mandatory Even It is Annotated as "@XmlElement(required = false)"
(Doc ID 1541778.1)
Last updated on JULY 06, 2023
Applies to:
Oracle WebLogic Server - Version 12.1.1.0 and laterInformation in this document applies to any platform.
Symptoms
After upgrading ejb based web service application from WebLogic 10.3.x to 12.1.1. The WSDL generated integer array field as mandatory element, even it is annotated as @XmlElement(required = false).
web service code snippet:
It is expected that hitsPerName element has minOccurs="0" attribute, but it doesn't. Default JAXB binding is used, which should be EclipseLink Moxy RI.
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 |