[prev in list] [next in list] [prev in thread] [next in thread] 

List:       soap-user
Subject:    Re: Serializers
From:       Olivier Brand <olivier () intraware ! com>
Date:       2001-02-27 20:44:35
[Download RAW message or body]


The BeanSerializer and the VectorDeserializer should do the trick.
See the addressbook sample.

Olivier

Ashutosh Somani wrote:

> Hi-
> I was wondering if anyone could help me out with obtaining/building a proper ser
> ializer for my needs. I have used the Constants.NS_URI_LITERAL_XML encoding sche
> me for Element objects and the Constants.NS_URI_SOAP_ENC encoding scheme for Str
> ing objects but not want to try to pass objects other than simple constants or l
> iteral XML.
> One object is a class with simply 5 fields (each of which holds a String or an i
> nt). The other object is a Vector that holds Strings. Anyone have any idea how I
>  can set the proper encoding style for these objects?
> For instance, when I pass XML objects, I use the following encoding style:
> "call.setEncodingStyleURI(Constants.NS_URI_LITERAL_XML);"
>
> I need a similar mechanism to encode my two other objects.
> If anyone has any idea how I can go about doing this, it would be very helpful.
> I haven't found good documentation on building/obtaining proper serilizers.
>
> Thanks in advance for any help.
> Ash

["olivier.vcf" (text/x-vcard)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic