Hi all,

 

Our problem is related to sending and receiving Java Collections, in
particular ArrayList and HashMap between services deployed in Axis2 and
RPCServiceClient(s) (or in  general any clients).

 

Since we did not find a solution until now, we would like to ask how and if
we can do it?

 

For now we're serializing/deserializing these types "manually" into/from
OMElements. So instead of:

 

public ArrayList getList()

 

we have

 

public OMElement getList().

 

This works fine, but we need to allow the services (in general) to use
direct types and thus we need to hide the serialization/deserialization
process. It represents a real issue for us because we cannot control the
interfaces and the implementations of the services that we're working with,
and thus we need to let them use whatever types they want.

 

Is there a way we can register a serializer/deserializer for these kinds of
types (ArrayList, HashMap, etc)?

 

Any help is really appreciated.

 

Thank you in advance.

 

Best regards,

Laura and Tudor

Reply via email to