You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by "Rich Scheuerle (JIRA)" <ji...@apache.org> on 2010/06/29 23:12:52 UTC

[jira] Resolved: (AXIS2-4757) JAX-WS: UnmarshalException occurs when an @ResponseWrapper does not have an @XmlRootElement

     [ https://issues.apache.org/jira/browse/AXIS2-4757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rich Scheuerle resolved AXIS2-4757.
-----------------------------------

    Resolution: Fixed

> JAX-WS: UnmarshalException occurs when an @ResponseWrapper does not have an @XmlRootElement
> -------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-4757
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4757
>             Project: Axis2
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Rich Scheuerle
>            Assignee: Rich Scheuerle
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> Background:
> A JAX-WS method document/literal wrapped method is annotated with @ResponseWrapper and @RequestWrapper annotations.  These annotations define (or default) to a class that represents the JAXB wrapper class.  In all common cases, the JAXB class represents a root element.  However in some cases the JAXB class may represent a complexType.
> Problem:
> When the @RequestWrapper or @ResponseWrapper class does not have an @XmlRootElement annotation, an UnmarshalException may occur.
> Proposed Solution:
> I am working on a change to the JAX-WS runtime to detect this scenario and use the "by type" JAXB unmarshaling to unmarshal the xml.
> A testcase will be changed to validate the code.

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