0

I'm trying to generate webservice that type Hashmap but I'm getting the following error :

hashmap that is not supported by the jax-rpc

my code :

public String insertTest(HashMap<Integer, Integer> checkBoxState){

for (Map.Entry<Integer, Integer> mapEntry : checkBoxState
        .entrySet()) {
    int SID = mapEntry.getKey();
    int status = mapEntry.getValue();
    System.out.println("student it " + SID + "status"+status);
}

return null;    
}

I'm using tomcat 7

So I want a simple way to get it work

Asfab
  • 398
  • 6
  • 11
user3142633
  • 21
  • 1
  • 3

0 Answers0