Hi,
. In other cases (without using MTOM attachements), I could always create a simple POJO class and generate wsdl.
You can use a pojo approach with MTOM too...
If I create a POJO defined a s service with a method something like this and enable MTOM : Public Status getFilesScanStatus(File[] fileArray{ ...... }
Please use javax.activation.DataHandler as the argument... Public Status getFilesScanStatus(javax.activation.DataHandler[] fileArray)
Will javatowsdl generate wsdl with appropriate types or I need to always start with wsdl first when dealing with MTOM.
Java2wsdl will generate the correct WSDL, when having DataHandler's as arguments.. thanks, Thilina
Thanks!! Anna -----Original Message----- From: Thilina Gunarathne [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 11, 2007 10:20 AM To: axis-user@ws.apache.org Subject: Re: MTOM passing multiple files Hi, Yes... It's possible.. You need to have a array of xs:base64Binary type elements.. thanks, Thilina On 7/11/07, Simonenko, Anna <[EMAIL PROTECTED]> wrote: > > > > Hello: > > I need to pass collection/array of files to our axis2 web service > using MTOM. Can I do that? If yes, how do I need configure WSDL? > > Thanks!! > > > > Anna Simonenko -- Thilina Gunarathne - http://www.wso2.com - http://thilinag.blogspot.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Thilina Gunarathne - http://www.wso2.com - http://thilinag.blogspot.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]