Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-4097

JAXB doesn't (un)marshall property with @XmlElementRef

    XMLWordPrintable

Details

    Description

      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 ?

      Attachments

        Issue Links

          Activity

            People

              rnetuka@redhat.com Radovan Netuka
              rhn-support-vgohel Viral Gohel
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: