You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by K P <kp...@hotmail.com> on 2003/06/09 18:46:46 UTC

ArrayList and Interoperability

Are ArrayLists, HashMaps interoperable with other languages?

How would the web service client aware of all the object types being 
returned in a list or a map prior to making the call?

Consider the following:
1. A web service operation (getList)returns a list
2. When the call is made the tist contains two objects one an instance of 
TestBean1 and another of TestBean2.

The WSDL would only describe that the web service returns an array list but 
the WSDL does not define the structure of the beans (within the list) 
anywhere. So how would the client know how to de-serialize and construct the 
client side data objects?

Thanks,

Kiran

_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail