cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benson Margulies (JIRA)" <>
Subject [jira] Assigned: (CXF-1231) When @WebParam fights with @XmlRootElement, who is supposed to win?
Date Sat, 24 Nov 2007 18:23:43 GMT


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:
>             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.

View raw message