axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoda, Nadeem [USA]" <hoda_nad...@bah.com>
Subject RE: passing Map object and return Map object
Date Tue, 08 Apr 2008 08:20:01 GMT

Henry, 

Try using basic objects (strictly-typed POJOs) and object arrays, and
stay away from Java-specific types and generalized collection types.

For example, you could use an array of:

public class MyHashEntry {
	String key;
	MyObject value;
	...
}

Also, generalized collections will either not work or cause interop
problems.

Thanks, 

Nadeem 

-----Original Message-----
From: Henry Lu [mailto:zhlu@umich.edu] 
Sent: Tuesday, April 08, 2008 12:00 AM
To: axis-user@ws.apache.org
Subject: passing Map object and return Map object

I had problems to pass/return a Map/HashMap object to/from services. On
the server side, it recieved an empty map object, on the client side, it
returned an empty Map object. I used TCPMON to look at the xml data,
there is no data passing at all.

Any Ideas?

-Henry

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message