It will return org.apache.axiom.attachments.Attachments. See the test case:

http://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/swa/


thanks,
dims

On 4/26/06, Michael Robinson <[EMAIL PROTECTED]> wrote:
> Ok, thanks for the MTOMConstants class reference.
>
> Is the Attachments object that you created just an example or is that
> also a part of some API? I am a little confused about what exactly will
> be returned from the msgcts.getProperty(MTOMConstants.ATTACHMENTS).
>
> -----Original Message-----
> From: Davanum Srinivas [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 26, 2006 12:12 PM
> To: [email protected]
> Subject: Re: [axis2] SwA example
>
>         Attachments attachment = (Attachments)
> msgcts.getProperty(MTOMConstants.ATTACHMENTS);
>
> thanks,
> dims
>
> On 4/26/06, Michael Robinson <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > I'm attempting to process a request from a SwA client using Axis2 but
> am
> > having some problems with the sample at
> >
> >
> >
> > http://ws.apache.org/axis2/0_95/mtom-guide.html#3
> >
> >
> >
> > MIMEHelper attachments =
> > (MIMEHelper)msgcts.getProperty(MIMEHelper.ATTACHMENTS);
> >
> >
> >
> > MIMEHelper.ATTACHMENTS seems to not exist. What is the string
> equivalent of
> > this constant?
> >
> >
> >
> > Is there any other examples of accessing SwA messges?
> >
> > ________________________________
> >
> >
> >
> >
> >
> >
> >  This e-mail and any files transmitted with it are intended solely
> >  for the use of the entity or individual(s) to whom they are
> >  addressed and not for reliance upon by unintended recipients. If
> >  you are not the intended recipient or the person responsible for
> >  delivering the e-mail to the intended recipient be advised that you
> >  have received this e-mail in error and that any use, dissemination,
> >  forwarding, printing, or copying of this e-mail and any files
> >  transmitted are strictly prohibited. If you have received this
> >  e-mail in error please delete the entire email and immediately
> >  notify us by email to the sender or by telephone to the AOC main
> >  office number, (404) 656-5171. Thank you.
> >
>
>
> --
> Davanum Srinivas : http://wso2.com/blogs/
>


--
Davanum Srinivas : http://wso2.com/blogs/

Reply via email to