ws-kandula-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rich Scheuerle (JIRA)" <>
Subject [jira] Created: (AXIS2-4765) JAXWS: Generic parameters are missed when determining JAXBContext packages
Date Thu, 08 Jul 2010 16:50:50 GMT
JAXWS: Generic parameters are missed when determining JAXBContext packages

                 Key: AXIS2-4765
             Project: Axis2
          Issue Type: Bug
            Reporter: Rich Scheuerle
            Assignee: Rich Scheuerle


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

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.


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