You must define your own de/serializer and XML mapping.

Anne

On 10/27/06, Subramanian, Saravanan <[EMAIL PROTECTED]> wrote:



Hi Folks

I have started using Axis recently for some web services-related work, and
want to pass the java.util.Locale as an input parameter to a web service
call.

Although I have been able to successfully transmit objects that follow the
JavaBean specification (no argument public constructor, with public getters
and setters)  in my other web services successfully as parameters,
transmitting the Locale class seems to pose some difficulties as it does not
follow the JavaBean spec. I can't seem to find anything on the web either
around this. Is this do-able?

I realize that since this class does not follow the JavaBean specification
and is also not serialized instrinsically as it is not one of the base
supported types. Therefore, I may potentially need to create serializers and
deserializers and their associated factory classes as well as define type
mappings in the WSDD file.

My question to you folks is that whether any of you have had any experiences
in facing this situation, and if so, would you mind sharing your experience
with me.

Your help will be deeply appreciated.

Thanks

Saravanan



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to