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/07/12 22:11:02 UTC

[jira] Resolved: (AXIS2-4765) JAXWS: Generic parameters are missed when determining JAXBContext packages

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

Rich Scheuerle resolved AXIS2-4765.
-----------------------------------

    Resolution: Fixed

revision 963459

> JAXWS: Generic parameters are missed when determining JAXBContext packages
> --------------------------------------------------------------------------
>
>                 Key: AXIS2-4765
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4765
>             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 method.
> 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 JAXBContext.
> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org