[jbossws-issues] [JBoss JIRA] (JBWS-4097) JAXB doesn't (un)marshall property with @XmlElementRef

Radovan Netuka (JIRA) issues at jboss.org
Thu Apr 12 10:16:00 EDT 2018


     [ https://issues.jboss.org/browse/JBWS-4097?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Radovan Netuka updated JBWS-4097:
---------------------------------
    Attachment: Reproducer.zip


> 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
>
>         Attachments: Reproducer.zip
>
>
> 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 ?



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jbossws-issues mailing list