0 Replies Latest reply: Jun 24, 2013 2:08 AM by user7557364 RSS

    (Eclipse Persistence Services - 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.DescriptorException

    user7557364

      We are upgrading various webservices to Weblogic 12c. We are running i a very annoying issue where the webservice can't be deployed on 12c whenever there is an element which is nillable and the type is an Enumartion. For example : <xsd:element name="adresType" type="bg:AdresType" nillable="true" minOccurs="0" /> where AdresType is :

          <xsd:simpleType name="AdresType">

              <xsd:restriction base="xsd:string">

                  <xsd:enumeration value="DAILY" />

                  <xsd:enumeration value="OFFICIAL" />

                  <xsd:enumeration value="CORRESPONDENCE" />

              </xsd:restriction>

          </xsd:simpleType>

       

      Putting eclipselink 2.5.0 on the class path solves the problem. However, i am using a shared environment and they don't allow me to change the classpath ;-(

       

      I tried putting 'prefer-application-package', ' prefer-web-inf-classes' etcetera in the weblogic.xml. Doesn't work.

       

      Can anybody help me out?

       

      regards

      Johan van Kampen