Re: serializing the Map datatype

2005-11-28 Thread Xinjun Chen
I also encounter such a problem. I have HashTable, HashMap, ArrayList to serialize and deserialize. Is there any exisitng serializer/deserializers? By the way, I have no experience write customized serializer/deserializer. Could anyone point me a way to start?

 
Regards, 
Xinjun 
On 11/25/05, Don Tam <[EMAIL PROTECTED]> wrote:
Hi,I was looking at the DataDeser in examples/encoding and I'm still at aloss.  If someone has written a deserializer for a map/hashmap
(especially for nested maps), could you please help?Thanks,Don Tam wrote:> Hi,>> Thank you for the response.  Do you have a complete example of how to> do this?>
> Thanks,>> Anne Thomas Manes wrote:>>> You will need to write a custom deserializer. On 11/3/05, *Don Tam* <[EMAIL PROTECTED]
>> [EMAIL PROTECTED]>> wrote: Hi, I realize this was quite the newb question, but could please someone
>> point me in the right direction?  WSDL2Java is returning a>> MapEntry[]>> and making its own MapEntry stuff, but I really want it to use>> java.util.Map.>>
>> Thanks, Don Tam wrote: > Hi,>> >>> > I had deployed some web services using JWSDP about a year ago,>> and now
>> > I'm trying to get an Axis client to work with it.  The problem I'm>> > having is that I'm using WSDL2Java and I'm not quite sure how to>> tell>> > it that I want things that return "map" to serialize into
>> > java.util.Map.  What are the steps I need to take? Is there an>> example?>> >>> > Here is a snippet of the WSDL that was generated by JWSDP (it's>> > deserialized 
java.util.Map like this):>> >>> > >> > ->> >>> > ->> >
>> > >> wsdl:arrayType="tns:mapEntry[]"/>>> > >> > 
>> > >> > ->> >>> > ->> >>> > 
>> > >> > >> > >> >>> > Thanks,
>> >>


Re: serializing the Map datatype

2005-11-24 Thread Don Tam

Hi,

I was looking at the DataDeser in examples/encoding and I'm still at a 
loss.  If someone has written a deserializer for a map/hashmap 
(especially for nested maps), could you please help?


Thanks,

Don Tam wrote:


Hi,

Thank you for the response.  Do you have a complete example of how to 
do this?


Thanks,

Anne Thomas Manes wrote:


You will need to write a custom deserializer.

On 11/3/05, *Don Tam* <[EMAIL PROTECTED] 
> wrote:


Hi,

I realize this was quite the newb question, but could please someone
point me in the right direction?  WSDL2Java is returning a 
MapEntry[]

and making its own MapEntry stuff, but I really want it to use
java.util.Map.

Thanks,

Don Tam wrote:

> Hi,
>
> I had deployed some web services using JWSDP about a year ago,
and now
> I'm trying to get an Axis client to work with it.  The problem I'm
> having is that I'm using WSDL2Java and I'm not quite sure how to
tell
> it that I want things that return "map" to serialize into
> java.util.Map.  What are the steps I need to take? Is there an
example?
>
> Here is a snippet of the WSDL that was generated by JWSDP (it's
> deserialized java.util.Map like this):
>
> 
> -
>
> -
>
> 
> 
> 
> 
> -
>
> -
>
> 
> 
> 
> 
>
> Thanks,
>

  
  





Re: serializing the Map datatype

2005-11-07 Thread Don Tam

Hi,

Thank you for the response.  Do you have a complete example of how to do 
this?


Thanks,

Anne Thomas Manes wrote:


You will need to write a custom deserializer.

On 11/3/05, *Don Tam* <[EMAIL PROTECTED] 
> wrote:


Hi,

I realize this was quite the newb question, but could please someone
point me in the right direction?  WSDL2Java is returning a MapEntry[]
and making its own MapEntry stuff, but I really want it to use
java.util.Map.

Thanks,

Don Tam wrote:

> Hi,
>
> I had deployed some web services using JWSDP about a year ago,
and now
> I'm trying to get an Axis client to work with it.  The problem I'm
> having is that I'm using WSDL2Java and I'm not quite sure how to
tell
> it that I want things that return "map" to serialize into
> java.util.Map.  What are the steps I need to take? Is there an
example?
>
> Here is a snippet of the WSDL that was generated by JWSDP (it's
> deserialized java.util.Map like this):
>
> 
> -
>
> -
>
> 
> 
> 
> 
> -
>
> -
>
> 
> 
> 
> 
>
> Thanks,
>

--
Don Tam
Manager, Software Development
(416)493-6111x143
[EMAIL PROTECTED] 




--
Don Tam
Manager, Software Development
(416)493-6111x143
[EMAIL PROTECTED]



Re: serializing the Map datatype

2005-11-07 Thread Anne Thomas Manes
You will need to write a custom deserializer.On 11/3/05, Don Tam <[EMAIL PROTECTED]> wrote:
Hi,I realize this was quite the newb question, but could please someonepoint me in the right direction?  WSDL2Java is returning a MapEntry[]
and making its own MapEntry stuff, but I really want it to usejava.util.Map.Thanks,Don Tam wrote:> Hi,>> I had deployed some web services using JWSDP about a year ago, and now
> I'm trying to get an Axis client to work with it.  The problem I'm> having is that I'm using WSDL2Java and I'm not quite sure how to tell> it that I want things that return "map" to serialize into
> java.util.Map.  What are the steps I need to take? Is there an example?>> Here is a snippet of the WSDL that was generated by JWSDP (it's> deserialized java.util.Map like this):>> 
> ->> ->> 
> > > > ->> ->> 
> > > >> Thanks,>--Don TamManager, Software Development(416)493-6111x143
[EMAIL PROTECTED]


Re: serializing the Map datatype

2005-11-03 Thread Don Tam

Hi,

I realize this was quite the newb question, but could please someone 
point me in the right direction?  WSDL2Java is returning a MapEntry[] 
and making its own MapEntry stuff, but I really want it to use 
java.util.Map.


Thanks,

Don Tam wrote:


Hi,

I had deployed some web services using JWSDP about a year ago, and now 
I'm trying to get an Axis client to work with it.  The problem I'm 
having is that I'm using WSDL2Java and I'm not quite sure how to tell 
it that I want things that return "map" to serialize into 
java.util.Map.  What are the steps I need to take? Is there an example?


Here is a snippet of the WSDL that was generated by JWSDP (it's 
deserialized java.util.Map like this):



-
   
-
   




-
   
-
   





Thanks,



--
Don Tam
Manager, Software Development
(416)493-6111x143
[EMAIL PROTECTED]