axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suzy Fynes" <suzanne.fy...@sentenial.ie>
Subject RE: Dynamic Lists in Web Services (java /axis)
Date Tue, 08 Mar 2005 14:03:45 GMT
So are you staying basically is to put the dynamic list instead an
array?

Thanks
Suzy
-----Original Message-----
From: James Black [mailto:jblack@ieee.org] 
Sent: 08 March 2005 13:56
To: axis-user@ws.apache.org
Subject: Re: Dynamic Lists in Web Services (java /axis)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Suzy Fynes wrote:
| That's my problem, is it possible to make a dynamic list where the
| length isn't fixed before the service is deployed and allow the client
| to add as many objects to the list then send the request

~  Yes, it is.

~  The client can create as large an array as desired.

~  What I do is I will put everything into a Vector class, as it is
dynamic, and then, when I am done, I turn that into an array of objects,
and that is what the server gets.

~  The server will then get the length by looking at array.length and
then it can process it.

- --
"Love is mutual self-giving that ends in self-recovery." Fulton Sheen
James Black    james@usf.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCLa7jikQgpVn8xrARAu+tAJ9AGzOJ4Y1a93+T3Fd73+XMNB8aNACgkYhk
Cdalb4DQWeg0RTPOQ/MECCs=
=ro/M
-----END PGP SIGNATURE-----




Mime
View raw message