axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas De Loof <nicolas.del...@capgemini.com>
Subject wrapped service and array as returned value
Date Thu, 19 Jan 2006 15:18:13 GMT

Hello,

I'm trying to use "wrapped" mode for my service to publish this business 
method :
    public Site[] listerSitesPourClient(String idSIU, String idDroit);

Method is invoked as expected and returned soap message looks good :

<soapenv:Body>
            <listerSitesPourClientResponse 
xmlns="urn:francetelecom.com/gta">
                <listerSitesPourClientReturn>
                    <nomSite xmlns="">Coste 8464000009</nomSite>
                    ...
                </listerSitesPourClientReturn>
                <listerSitesPourClientReturn>
                    ...
                </listerSitesPourClientReturn>
            </listerSitesPourClientResponse>
</soapenv:Body>

BUT when I call the service from axis (generated) stub I get a Site[3] 
array with null entries...

My "Site" object uses custom deserializer (that are working fine in 
other cases) and are used during this message deserialization, but 
deserialized object seems to be lost.

Other services that don't uses arrays as returned value work fine.

What did I missed ?

Nico.

This message contains information that may be privileged or confidential and is the property
of the Capgemini Group. It is intended only for the person to whom it is addressed. If you
are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,
 distribute, or use this message or any part thereof. If you receive this  message in error,
please notify the sender immediately and delete all  copies of this message.


Mime
View raw message