Hi,
I have Object A that has Collection of Objects A. Normal hierarchy structure.
I got to work it almost well except two details.
The collection is wrapped. It should look like this
Lets name namespace like bar
<bar:foo name="1">
<bar:children>
<bar:foo name="2"/>
<bar:foo name="3"/>
</bar:children>
</bar:foo>
The problem is that chioldren while marhalling doen't get bar prefix. This is
output after marshalling
<bar:foo name="1">
<children>
<bar:foo name="2">
<children/>
</bar:foo>
<bar:foo name="3">
<children/>
</bar:foo>
</children>
</bar:foo>
How can i configure mapper to use prefix with "children" wrapper? Without this
xml is not valid!
Teh next thing is empty collection. How can i configure mapper to exclude empty
or null not required values?
Thank you
Antoni Alatalo
Ohjelmistoasiantuntija
Kuntatoimiala, sosiaalitoimi
_________________________________________
Logica - Releasing your potential
Karvaamokuja 2
PL 38
00381 Helsinki
Vaihde: 010 302 010
Suora: 040 583 1097
[EMAIL PROTECTED]
www.logica.fi<http://www.logicacmg.fi>
WM-datan nimi on nyt Logica.