axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bhojraj, Santosh" <Santosh_Bhoj...@ustrust.com>
Subject RE: Problem with return HashMap.
Date Fri, 28 Sep 2007 20:11:46 GMT
Nah. The whole idea of the Map would be lost then. 
This was supported in Axis 1.2. So why can't it be done in Axis2 ? 



-----Original Message-----
From: Anne Thomas Manes [mailto:atmanes@gmail.com] 
Sent: Friday, September 28, 2007 4:02 PM
To: axis-user@ws.apache.org
Subject: Re: Problem with return HashMap.

A better solution is to convert a hashmap to an array.

On 9/28/07, Bhojraj, Santosh <Santosh_Bhojraj@ustrust.com> wrote:
> Will it at least work if JIBX is used for data binding ?
>
>
> -----Original Message-----
> From: Deepal Jayasinghe [mailto:deepal@opensource.lk]
> Sent: Friday, September 28, 2007 9:28 AM
> To: axis-user@ws.apache.org
> 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
>
> cszczotka@interia.pl 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: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
> >
> >
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message