You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Nikhil Thaker (JIRA)" <ji...@apache.org> on 2007/05/04 23:58:15 UTC

[jira] Created: (AXIS2-2640) Enum class is not known to this JAXBContext

Enum class is not known to this JAXBContext
-------------------------------------------

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


User reports seeing EnumString is not known to this jaxb context. Enum string does not have @XmlType/@XmlElement annotations,
only @XmlEnum. So when the JAXBContext is created using context path it is not picked up.

This is resolved by checking for enums in JAXBBlockImpl marshall/unmarshallByType methods.


-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-2640) Enum class is not known to this JAXBContext

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12507423 ] 

Davanum Srinivas commented on AXIS2-2640:
-----------------------------------------

Nikhil, Is there a patch? is this problem fixed?

thanks,
dims

> Enum class is not known to this JAXBContext
> -------------------------------------------
>
>                 Key: AXIS2-2640
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2640
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Nikhil Thaker
>            Assignee: Nikhil Thaker
>
> User reports seeing EnumString is not known to this jaxb context. Enum string does not have @XmlType/@XmlElement annotations,
> only @XmlEnum. So when the JAXBContext is created using context path it is not picked up.
> This is resolved by checking for enums in JAXBBlockImpl marshall/unmarshallByType methods.

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Closed: (AXIS2-2640) Enum class is not known to this JAXBContext

Posted by "Nikhil Thaker (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nikhil Thaker closed AXIS2-2640.
--------------------------------


> Enum class is not known to this JAXBContext
> -------------------------------------------
>
>                 Key: AXIS2-2640
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2640
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Nikhil Thaker
>            Assignee: Nikhil Thaker
>
> User reports seeing EnumString is not known to this jaxb context. Enum string does not have @XmlType/@XmlElement annotations,
> only @XmlEnum. So when the JAXBContext is created using context path it is not picked up.
> This is resolved by checking for enums in JAXBBlockImpl marshall/unmarshallByType methods.

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Work started: (AXIS2-2640) Enum class is not known to this JAXBContext

Posted by "Nikhil Thaker (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on AXIS2-2640 started by Nikhil Thaker.

> Enum class is not known to this JAXBContext
> -------------------------------------------
>
>                 Key: AXIS2-2640
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2640
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Nikhil Thaker
>            Assignee: Nikhil Thaker
>
> User reports seeing EnumString is not known to this jaxb context. Enum string does not have @XmlType/@XmlElement annotations,
> only @XmlEnum. So when the JAXBContext is created using context path it is not picked up.
> This is resolved by checking for enums in JAXBBlockImpl marshall/unmarshallByType methods.

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-2640) Enum class is not known to this JAXBContext

Posted by "Nikhil Thaker (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12507435 ] 

Nikhil Thaker commented on AXIS2-2640:
--------------------------------------

Dims - Issue has been resolved. I will be comitting the patch soon.

Nikhil Thaker
office: 512 838 9964
nvthaker@us.ibm.com



"Davanum Srinivas (JIRA)" <ji...@apache.org> 
06/22/2007 10:51 AM

To
Nikhil V Thaker/Columbus/IBM@IBMUS
cc

Subject
[jira] Commented: (AXIS2-2640) Enum class is not known to this JAXBContext







    [ 
https://issues.apache.org/jira/browse/AXIS2-2640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12507423 
] 

Davanum Srinivas commented on AXIS2-2640:
-----------------------------------------

Nikhil, Is there a patch? is this problem fixed?

thanks,
dims

string does not have @XmlType/@XmlElement annotations,
is not picked up.
marshall/unmarshallByType methods.

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




> Enum class is not known to this JAXBContext
> -------------------------------------------
>
>                 Key: AXIS2-2640
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2640
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Nikhil Thaker
>            Assignee: Nikhil Thaker
>
> User reports seeing EnumString is not known to this jaxb context. Enum string does not have @XmlType/@XmlElement annotations,
> only @XmlEnum. So when the JAXBContext is created using context path it is not picked up.
> This is resolved by checking for enums in JAXBBlockImpl marshall/unmarshallByType methods.

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-2640) Enum class is not known to this JAXBContext

Posted by "Nikhil Thaker (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nikhil Thaker resolved AXIS2-2640.
----------------------------------

    Resolution: Fixed

patch attached to JIRA Axis2-2841 resolves this issue.  Axis2-2841 has been resolved with Revision 549873.

Revision #549873

> Enum class is not known to this JAXBContext
> -------------------------------------------
>
>                 Key: AXIS2-2640
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2640
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Nikhil Thaker
>            Assignee: Nikhil Thaker
>
> User reports seeing EnumString is not known to this jaxb context. Enum string does not have @XmlType/@XmlElement annotations,
> only @XmlEnum. So when the JAXBContext is created using context path it is not picked up.
> This is resolved by checking for enums in JAXBBlockImpl marshall/unmarshallByType methods.

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org