Jeremy, I had the same issue until I annotated my interface methods like
this:

@WebMethod(operationName = "getAllProducts")
    @ResponseWrapper(targetNamespace = "
http://catalogService.service.gdservices.com<http://catalogservice.service.gdservices.com/>",

            className = "com.gdservices.service.thirdparty.ProductSummary")
    @WebResult(targetNamespace = "http://catalogService.service.gdservices.com
<http://catalogservice.service.gdservices.com/>",
            name = "products")
    List<ProductSummary> getAllProducts(Long userId, Integer detailLevel)
throws ServiceException;

Although this works, the CXF dev team told me this was an incorrect usage of
the annotations and they weren't sure how it worked.  I'd be interested to
see if it works for you too.

-bh


On 7/28/07, Jeremy Isikoff <[EMAIL PROTECTED]> wrote:
>
> Sorry for all the activity, I'm on deadline and trying to get some stuff
> running quickly...
> I'm trying to return a List<Reports>  where report is a javabean with some
> string properties.  I can get the array back from the webservice but they
> all come back typed as Item instead of Report is there an annotation i need
> to make or something I need to do to make the collection come back
> correctly?  Xfire claims to do this automatically for 1.5 generic
> collections.
>
> Jeremy M. Isikoff
>
>
>
>
> ____________________________________________________________________________________
> Pinpoint customers who are looking for what you sell.
> http://searchmarketing.yahoo.com/
>

Reply via email to