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

Scott Lamb wrote:
> I still do not understand. Why can't I serialize a List with exactly 
> the same XML representation as an array? And deserialize it back to a 
> List? Why does the other side have to know anything about this?

 A list has other attributes besides an array, as it has to know
something about order and relationships between items.

> 
>>   C does not easily know how to deal with some of the collection  types.
> 
> 
> How is that relevant?

  Because webservices specs were designed to be language independent,
and so it is relevant in that if C can't handle something, then that
feature must be language dependent. If you are writing a webservice that
is only going to be used by Java clients, you could just use RMI instead
of webservices, and then you can pass whatever you want.

> Forget the other side of the transaction. I want to make an isolated 
> change.
> 
> These links you gave me seem focused on registering a new type and 
> providing a way to serialize/deserialize it. I want to change how 
> arrays are serialized.

  The you will need to write a custom serializer/deserializer, since
Axis doesn't provide one for you.

- --
Corruptisima republica plurimae leges. [The more corrupt a republic, the
more laws.]
Tacitus from Annals III, 116AD
Blogs: http://jamesruminations.blogspot.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)

iD8DBQFCyJpqJ/zyYkX46joRAltkAJ9AkKl1r3DFYreDrIpC07Fs4mVcpgCdFjS6
AOhizXnMSnCPNMouV8pIQpQ=
=1fEY
-----END PGP SIGNATURE-----

Reply via email to