On the client, you use mapTypes to establish the mapping between the BeanSerializer and the Java class that contains the "structs" you serialize. You specify a mapping on the server using the deployment descriptor. When you create a Parameter on the client that is an array type, the ArraySerializer will be implicitly used. Likewise for the return value.
Scott Nichol ----- Original Message ----- From: "lei han" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 27, 2002 3:17 PM Subject: HELP!!!:How to send and receive array in Apache Soap > Now I would like to call a service which have array of > structs as input and out. How to do that? > > A sample would be great. I checked the samples of > Apache Soap and can't find it. > > Basically > *) should I use SOAPMappingRegistry.mapTypes? > *) Should I use ArraySerializer. > *) What kind of class should I implement for the array > just like a java bean for a struct? > > Immediate help is greatly appreciated!!! > > > > __________________________________________________ > Do you Yahoo!? > New DSL Internet Access from SBC & Yahoo! > http://sbc.yahoo.com > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>