I have been playing with Attachment code trying to improve it a little, and fill in the missing parts/TODOs.
Doing that I am not understanding 2 basic things in the design. 1) Why would you want to compile Axis without attachment support? Doing so creates, in my opinion, unneeded code complexity. And w/o attachment support you've got a broken SOAP toolkit. 2) Why did Part object (and attachments themselves) had reference to the Message? Only SOAPPart needed access to MessageContext. I was able to painlessly take out reference to Message from Part and Attachments, but I am wandering if I am missing something very basic.