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
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:
I agree. Here's the link:
subject: Returning HashMap from Web Service
How to cast an Object to a HashMap with out getting unchecked cast warning
WA #1.....word association
switch on String
Can an array be used as a HashMap Key?
retrive Vector from HashMap
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015