• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to Use HashMap in Webservice Schema

 
Ashish Soni
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All ,

I have a JavaBean name MyInfo which is mentioned below

public class MyInfo implements Serializable
{
private Map inputDetails = null;
private Collection selectedOrganization = null;
....
....

}

the elements inputDetails is a Map and contains different object using a key value pair

Can some one please let me know how i can map this object in XSD schema .

Thanks,
 
Peer Reynders
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See JAXB mapping of HashMap
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!