On 9/29/07, Anne Thomas Manes <[EMAIL PROTECTED]> wrote: > > A better solution is to convert a hashmap to an array.
Please correct me if I am wrong. This is my idea regading this. There are two web serice development strategies. 1. contract first 2. code first. Here what they try to use is the code first apporach. in code first approach most people develop their application without thinking about the web services and later want to publish them as web services. Naturally we use List and Maps instead of arrays when developing applications. So the requriement is to publish their existing stable code as web services. Then I belive no one agree to change their existing code (written using lists and Maps) to arrays. When thinking this, is asking users to change to arrays a practical solution? My guess is those features must be introduce to Axis2 framework. Amila. On 9/28/07, Bhojraj, Santosh <[EMAIL PROTECTED]> wrote: > > Will it at least work if JIBX is used for data binding ? > > > > > > -----Original Message----- > > From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED] > > Sent: Friday, September 28, 2007 9:28 AM > > To: [email protected] > > Subject: Re: Problem with return HashMap. > > > > Axis2 does not support hasmap in 1.3 release. May be we will provide > > that in a future release. > > > > Thanks > > Deepal > > > > [EMAIL PROTECTED] wrote: > > > Hi, > > > I have simple web service ( Axis2-1.3 ) which has method return > > > java.util.HashMap: > > > > > > public class SimpleWebService { > > > > > > private HashMap<String, String> _map; > > > public SimpleWebService() { > > > _map = new HashMap<String, String>(); > > > > > > } > > > public HashMap<String, String> getMap() { > > > _map.put("AA", "BB"); > > > _map.put("BB", "BB"); > > > _map.put("CC", "BB"); > > > _map.put("DD", "BB"); > > > _map.put("EE", "BB"); > > > return _map; > > > } > > > } > > > > > > I use RPCServiceClient. Problem occurred when I try obtain values in > > HashMap. > > > >From client I have gotten empty hash map. > > > Do you have any experience with serialization HashMap or other java > > collections ? Do you know where can I find any samples ? > > > Regards, > > > > > > > > > ---------------------------------------------------------------------- > > > Fajne i smieszne. Zobacz najlepsze filmiki! > > > > > > > > >>>> http://link.interia.pl/f1bbb > > >>>> > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Amila Suriarachchi, WSO2 Inc.
