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

Benson Margulies reassigned CXF-1231:
-------------------------------------

    Assignee: Benson Margulies  (was: Daniel Kulp)

> When @WebParam fights with @XmlRootElement, who is supposed to win?
> -------------------------------------------------------------------
>
>                 Key: CXF-1231
>                 URL: https://issues.apache.org/jira/browse/CXF-1231
>             Project: CXF
>          Issue Type: Bug
>          Components: JAXB Databinding
>    Affects Versions: 2.1
>            Reporter: Benson Margulies
>            Assignee: Benson Margulies
>
> In the Javascript project, you will find a test called 
> DocLitWrappedClientTest. If you remove the Ignore from a case, it will fail.
> The failure occurs as follows:
> In SimpleDocLitWrapped (the SEI), the method beanFunction is defined to have, 
> as its first parameter, an item with an explicit name of 'bean1' in the 
> @WebParam.
> However, that parameter is of type TestBean1, which has an @XmlRootElement 
> without a name parameter.
> The result of this is that the service model sets up, at runtime, with a 
> MessagePartInfo with a concrete name derived from the XmlRootElement.
> If this is correct, please tell me so and close this report. If the @WebParam 
> is supposed to win the fight, on the other hand, we've got a bug.

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

Reply via email to