Thanks for your help, Thilina!

One more question:

Axis example using MTOM focuses on creating WSDL first and generating
server classes with wsdltojava. In other cases (without using MTOM
attachements), I could always create a simple POJO class and generate
wsdl.

If I create a POJO defined a s service with a method something like this
and enable MTOM :

Public Status getFilesScanStatus(File[] fileArray{
......
}
Will javatowsdl generate wsdl with appropriate types  or I need to
always start with wsdl first when dealing with MTOM.

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]

Reply via email to