Menu

#344 Exception when mapping lists coming from web service

Dozer v5.3.2
open
nobody
5
2011-09-05
2011-09-05
No

Exception in ine CustomConverterContainer lin 82: if ((classA.isAssignableFrom(dest) && classB.isAssignableFrom(src))

This happens when trying to map lists bewtween a web service API and a service API, when a ist element had the attribute xsi:nil="true".

E.g.:

<SOAP-ENV:Header ...
<employees xsi:nil="true"></employees>
...
</SOAP-ENV:Envelope>

MapId: null
source parent class javax.xml.ws.Holder.
Source field name: value
Source field type: java.util.ArrayList
Source field value: [null]
Dest parent class; de.....PagingResult
Dest field name: result
Dest field type: java.util.List

Discussion


Log in to post a comment.

MongoDB Logo MongoDB