JAXB Marshalling failure for enum types 
----------------------------------------

                 Key: AXIS2-2351
                 URL: https://issues.apache.org/jira/browse/AXIS2-2351
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: jaxws
            Reporter: Nikhil Thaker


I am seeing a javax.xml.bind.JAXBException when invoking a web service where in 
the Holder element is a enum.

The problem happens in JAXWS when we create the JAXBContext we only include 
classes that have public contructors. This
fails in case of an enum as an enum does not associate a constructor to it.

I have attached the test case and fix for this issue.
 
 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to