MAIL PROTECTED]]
> Sent: Wednesday, January 09, 2002 4:30 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Serializing an array of beans
>
>
>
> Hi Richard, thanks for your message.
>
> I should have clarified that I'm currently only interested in
> server->client
>
ECTED]; Soap-User@Xml. Apache. Org
> Subject: RE: Serializing an array of beans
>
>
>
> Hi Chris, this looks promising.
>
> However, I'm having trouble using ANY type of home-grown serializer, and
> would like to use one which someone knows works (other than the
&g
EMAIL PROTECTED]]
Sent: Wednesday, January 09, 2002 5:03 PM
To: [EMAIL PROTECTED]
Subject: RE: Serializing an array of beans
Unless I misunderstood your problem.
You just put the 'array' brackets next to the object class name, like this:
String [] fieldNames ;
...
if (fie
ype of serializer other than the apache ones work, which
worries me.
I assume that providing a class and a pointer to it is all that I need to do
at the server end?
Thanks,
Andrew
-Original Message-
From: Hansen, Richard [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 09, 2002 5:01 P
Unless I misunderstood your problem.
You just put the 'array' brackets next to the object class name, like this:
String [] fieldNames ;
...
if (fieldNames != null)
{
xjmr.marshall (inScopeEncStyle,
String[].class,
fieldNames,
I don't think you normally need to worry about array serialization. I think
it will just happen. You do need to worry about serializing your bean. But
if the bean class is properly registered with a serializer arrays should
just work. The only reason I needed to register the arrays was so MS SOAP