Hi,

I'm trying to return an Array from my WebService.

server side
>public Employee[] testQuery(); I Created the WSDL for this service.

client side
>Object[] opGetWeatherArgs = new Object[] { };
>Class[] returnTypes = new Class[] { Empregado.class };

>Object[] response = serviceClient.invokeBlocking(opGetWeather,
        opGetWeatherArgs, returnTypes);

* response should return an Array with lenght = N employees, but this always
return only the first object.
I do not have access to the others objects. If a run the service throw
http://localhost/axis2/rest/ExecSql/testQuery, I will see all the object..

What's happening with my client?? Why do I get only the first object?


any help?

thanks and best regards
Marcos Vilela 




-- 
View this message in context: 
http://www.nabble.com/Always-returned-Array-has-length-%3D-1-tf3451320.html#a9627163
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to