Q: How do I specify where attachments are written?
A: Just write the output yourself, for example:
Iterator iterator = call.getResponseMessage().getAttachments();
AttachmentPart part = (AttachmentPart) iterator.next();
DataHandler dh = part.getDataHandler();
dh.writeTo(new java.io.FileOutputStream("completeFilePathWhereYouWantTheFileWrittenTo")); or force Axis to generate the temp file and move it around your file system:
new java.io.File(dh.getName()).renameTo("TheFileYouReallyWant");