Hi,

Benson Margulies wrote:
In theory, with a WHATEVER.aegis.xml file. I don't see a unit test
that does this, so feel free to squawk if it doesn't work.

<mappings>
        <mapping>
                <method name="getMapLongToString">
                        <return-type nillable="true" />
                </method>
        </mapping>
</mappings>

Thanks, doesn't seem to work though :-(

Aegis finds the mapping file:

2596 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] TRACE org.apache.cxf.aegis.type.XMLTypeCreator - Found mapping file : /nl/eveoh/scheduleviewer/services/UserPreferencesService.aegis.xml

But it doesn't return a null value, it returns:

<ns1:getUserPrefsResponse xmlns:ns1="http://services.scheduleviewer.eveoh.nl/"/>

instead of:

<ns1:getUserPrefsResponse ns2:nil="true" xmlns:ns1="http://services.scheduleviewer.eveoh.nl/"; xmlns:ns2="http://www.w3.org/2001/XMLSchema-instance"/>

Any ideas? If not I guess I'll have to not use setDefaultNillable(false) and just tag everything that's non-nillable.

--
Regards,

Mike Noordermeer
[email protected]

Reply via email to