:42 PM
Subject: RE: Axis attachment file created in the Temp directory
Hi
I am sending part of my wsdl which describes the datahandler
complexType name=Image
sequence
element name=dataHandler nillable=true
type=apachesoap:DataHandler/
element name=data type
directory
editing the axis servlet entry in your web.xml
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 16, 2003 11:42 AM
Subject: RE: Axis attachment file created in the Temp directory
I have one question about this topic. Is there any way I can
I have one question about this topic. Is there any way I can change the
file where Axis will write the attachment. I mean, I don't want Axis to
write in /tmp (I'm using linux) but in a user's home directory (let's say
/home/javi/tmp).
Thanks all,
Javi
Just write the output yourself, for example:
Iterator iterator = call.getResponseMessage().getAttachments();
AttachmentPart part = (AttachmentPart) iterator.next();
DataHandlerdh = part.getDataHandler();
dh.writeTo(new
:
sys.com Subject: RE: Axis attachment file
created in the Temp directory
I noted that my Axis client does not dump the attachments to a file unless
I use some data handler function that forces it. For example, if I use
dh.getName() Axis will dump the contents to a temp file and return its
name. If you just use dh.writeTo() to specify where to put the data, Axis
will
I guess you have to clean it or move it somewhere else in your client code.
Patrick.
Subhendu Kumar mohanty wrote:
Hi all,
I am developing a webservice client which uses Axis. My client app calls an external webservice to get the image.I found that Axis creates temporary files in the system
:
[EMAIL PROTECTED] Subject: Re: Axis attachment file
created in the Temp directory
roject.org
:[EMAIL PROTECTED]
Sent: Monday, July 14, 2003 2:32 PM
To: [EMAIL PROTECTED]
Subject: Re: Axis attachment file created in the Temp directory
I guess you have to clean it or move it somewhere else in your client code.
Patrick.
Subhendu Kumar mohanty wrote:
Hi all,
I am developing a webservice
)
[mailto:[EMAIL PROTECTED]
Sent: Monday, July 14, 2003 2:32 PM
To: [EMAIL PROTECTED]
Subject: Re: Axis attachment file created in the Temp directory
I guess you have to clean it or move it somewhere else in your client code.
Patrick.
Subhendu Kumar mohanty wrote:
Hi all,
I am developing
To: [EMAIL PROTECTED]
Subject: Re: Axis attachment file created in the Temp directory
In the following the SOAPTest service exposes a method testAttachement
that send a SOAP message with attachement.
The following client call that method, takes the part and delete the
file. I don't know
11 matches
Mail list logo