]
Radovan Netuka updated JBWS-4097:
---------------------------------
Summary: JAXB doesn't (un)marshall property with @XmlElementRef (was: JAX-WS
Client does not unmarshal array property)
JAXB doesn't (un)marshall property with @XmlElementRef
------------------------------------------------------
Key: JBWS-4097
URL:
https://issues.jboss.org/browse/JBWS-4097
Project: JBoss Web Services
Issue Type: Bug
Components: jbossws-cxf
Reporter: Viral Gohel
Assignee: Radovan Netuka
Fix For: jbossws-cxf-5.2.1.Final
The link,
https://docs.oracle.com/cd/E19355-01/820-1072/ahiid/index.html it suggests that
JAXBElement is required also if there are element nillable="true" and
minOccurs="0" or if there are two global elements with the same named
xsd:complexType.
We always need a client to be regenerated using a jaxbBindings.xml with the option
<jaxb:globalBindings generateElementProperty="false" />, the web service
client is working.
Some of the implementation except CXF, work without having the file, jaxbBindings.xml
file. Is that an issue with jbossws-cxf ?