Hi,
* I have a Custom Serializer which works fine when the object in question is
a 'top-level' parameter
_call.registerTypeMapping(Service.class, _qnLSList,
new ServiceSerFactory(),
new BeanDeserializerFactory(Service.class,
_qnLSList));
..
_call.addParameter( "Service", _qnLSList,
Service.class,ParameterMode.IN );
....Custom Serialization is performed properly for the Service class
(in my case I only need customer serialization in order to control the case
of the serialized tags)
* The same Custom Serializer is not invoked when the object in question is
nested in a 'top-level' parameter
public class ServiceContainer
{
public Service service;
..
}
_call.registerTypeMapping(Service.class, _qnLSList,
new ServiceSerFactory(),
new BeanDeserializerFactory(Service.class,
_qnLSList));
_call.registerTypeMapping(ServiceContainer.class, _qnLSList,
new ServiceContainerSerFactory(),
new BeanDeserializerFactory(ServiceContainer.class,
_qnLSList));
..
_call.addParameter( "ServiceContainer", _qnLSList,
ServiceContainer.class,ParameterMode.IN );
....Custom Serialization is NOT performed for the Service class - default
serialization is performed
* Does anyone know how I can 'force' Axis to use the Custom serializer for a
nested object ?
Do I need to do something special in the ServiceContainer Serialization
class ...re-register Service Serialization class ??
Any tips appreciated,
Irial
> Irial Conroy
> Software Engineer
> Am-Beo Ltd.
> +353 91 730 814 Direct
> +353 91 730 737 Office
> +353 91 751 002 Fax
www.am-beo.com
> ------------------------------
> This message may contain proprietary and valuable information of
> Am-Beo. Am-Beo asserts its copyright to any proprietary information that
> may have been supplied and the proscription of third party disclosure of
> any such proprietary information.
>
>