I am using JDeveloper to build webservices and testing them with the utility "HTTP Analyzer". However I can't seem to create an output that works when I call that webmethod from HTTP Analyzer.
Example code:
@WebMethod
public HashMap <Integer, Integer> DeleteSomething (Object something) {
return class.deleteSth(something); //This returns HashMap
}
The only thing displayed in the return message is the code '200 OK'.
How do I return something from the webmethod into HTTP Analyzer?
EDIT: I've managed to return something by using the HashMap values to create a List of Strings and returning the List instead. However I would still like to know why the HashMap didn't work.
Thanks for your help :)