[jboss-user] [JBossWS] - Re: Using (Hash)Map in wrapper class

jaap.taal do-not-reply at jboss.com
Sat Apr 28 20:23:52 EDT 2007


I've found a related jax-ws topic:
http://forums.java.net/jive/message.jspa?messageID=185244

Putting the Hashmap inside a wrapper does work:

  | @WebService()
  | @SOAPBinding(style = SOAPBinding.Style.RPC)
  | public class EchoMapSSTest {
  | 
  |     public static class MapWrapper {
  |         public Map<String, String> map;
  |     }
  |     
  |     @WebMethod
  |     public MapWrapper echoMapSS(MapWrapper myMap) {
  |         return myMap;
  |     }
  | }
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041666#4041666

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041666



More information about the jboss-user mailing list