How to use HashMap as a parameter in Web service
问题 I am trying to make a dynamic Web Service in which i will be expecting a Java hash map or an Array list for the argument. I am using the following code in Class Code: package demo; import java.util.ArrayList; import javax.jws.WebService; @WebService public class HashMapTest { public HashMapTest() { super(); } public int getResponse(ArrayList<String> hm) { return hm.size(); } } I am using an IDE: Oracle Jdeveloper 11g. when i use the Wizard in the same, the output WSDL is as given below: <?xml