axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarmo Doc" <jar...@hotmail.com>
Subject RE: Indicating filenames during file attach
Date Fri, 06 Jan 2006 13:06:15 GMT
But AttachmentPart::setAttachmentFile(String path) is protected, not public.

I'm getting the impression that I need to pass the original filenames of the 
attachments independently of the attachments themselves.


>From: "Tootell, James" <jctootell@anteon.com>
>Reply-To: axis-user@ws.apache.org
>To: <axis-user@ws.apache.org>
>Subject: RE: Indicating filenames during file attach
>Date: Thu, 5 Jan 2006 19:01:34 -0500
>
>If you wrote the component that sends the attachment to the web service,
>you should be able to specify the filename.  In SAAJ, it looks like
>setContent(Object object, String contentType) only attaches the file.
>Calling setAttachmentFile(String path) should allow you to name the
>attachment.  "Axis102030.att" may just be some kind of default.
>
>HtH,
>JT

_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfeeŽ 
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


Mime
View raw message