axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rich Scheuerle (JIRA)" <>
Subject [jira] Resolved: (AXIS2-4765) JAXWS: Generic parameters are missed when determining JAXBContext packages
Date Mon, 12 Jul 2010 20:11:02 GMT


Rich Scheuerle resolved AXIS2-4765.

    Resolution: Fixed

revision 963459

> JAXWS: Generic parameters are missed when determining JAXBContext packages
> --------------------------------------------------------------------------
>                 Key: AXIS2-4765
>                 URL:
>             Project: Axis2
>          Issue Type: Bug
>            Reporter: Rich Scheuerle
>            Assignee: Rich Scheuerle
>   Original Estimate: 168h
>  Remaining Estimate: 168h
> Background:
> The JAX-WS runtime uses the information in the metadata *Description classes to determine
a list of referenced packages and classes.
> This information is built and stored in the MarshalServiceRuntimeDescription getPackages
> And the package information is used to build a complete JAXBContext for marshaling and
unmarshaling data.
> Problem:
> The *Description classes do not handle generics.  Thus the OperationDescription for the
return type only captures (List) and not (Foo) from 
> web methods like the following:
>       public List<Foo> myMethod();
> The missing reference and subsequent missing package reference results in an incomplete
> The incomplete JAXBContext may result in UnmarshalException or MarshalException errors.
> Proposal:
> I am working on a code change to the MarshalServiceRuntimeDesc builder logic to find
the generic parameter arguments (like Foo in the sample above).
> I am also designing two validation tests.

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:
For additional commands, e-mail:

View raw message