[ 
https://issues.apache.org/jira/browse/WINK-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12849173#action_12849173
 ] 

Kaloyan Kolev commented on WINK-219:
------------------------------------

As Bryant pointed my initial question was whether this code:

{code}
@GET
public Response get() {
   return Response.ok(new GenericEntity(new AddIntsNotAnnotated(), 
AddNumbers.class) {}).build();
}
{code}
Should be serializable by the provider that understands how to handle the 
AddNumbers class. Please note the second argument being passed to the 
GenericEntity constructor as I would expect that it will be used when finding a 
provider.

> JAXBXmlProvider should be able to handle inherited types, since JAXB is able 
> to handle them
> -------------------------------------------------------------------------------------------
>
>                 Key: WINK-219
>                 URL: https://issues.apache.org/jira/browse/WINK-219
>             Project: Wink
>          Issue Type: Bug
>          Components: Common
>    Affects Versions: 1.0
>            Reporter: Kaloyan Kolev
>            Assignee: Mike Rheinheimer
>            Priority: Minor
>         Attachments: WINK-219.patch, WINK-219_2.patch
>
>
> Here is the issue which led to opening this one: 
> https://issues.apache.org/jira/browse/WINK-218

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