A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Returning HashMap from Web Service
Anjali S Sharma
Joined: Jun 29, 2005
Aug 06, 2009 01:59:27
Is it correct to say that a Java webservice cannot return a
although it can return a List. If this is true can someone please let me know the reason.
Joined: Oct 04, 2006
Aug 06, 2009 06:17:36
You can do some voodoo with JAXB, called XmlAdapters, to be able to return a map. Check this link:
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: Returning HashMap from Web Service
switch on String
retrive Vector from HashMap
Can an array be used as a HashMap Key?
WA #1.....word association
How to cast an Object to a HashMap with out getting unchecked cast warning
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014