XFire

Lists and Arrays return types are not correctly marshalled.

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.2.5
  • Component/s: JAXB 2.0
  • Labels:
    None
  • Environment:
    JAXB 2.0
    Document/Literal
  • Number of attachments :
    0

Description

The following operation return type is not marshalled correctly

public List<MyObject> getObjectList();

is marshalled as

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Body>
<getObjectArrayResponse xmlns="http://list.xfire.ws.soa.util.telindus.be">
<out>
<MyObject>
<out>
<description>description</description>
</out>
</MyObject>
</out>
</getObjectArrayResponse>
</soap:Body>
</soap:Envelope>

Where MyObject is a XMLType.

Activity

Hide
Dan Diephouse added a comment -

OK, I think I found out the issue here. I'm not 100% sure how to fix it, but making progress.

Show
Dan Diephouse added a comment - OK, I think I found out the issue here. I'm not 100% sure how to fix it, but making progress.
Hide
Dan Diephouse added a comment -

Thanks for the report Tom. I managed to track this down thankfully. Fixes have been applied to SVN and now I'm cutting 1.2.5.

Show
Dan Diephouse added a comment - Thanks for the report Tom. I managed to track this down thankfully. Fixes have been applied to SVN and now I'm cutting 1.2.5.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: