Hi all, I'm working on a mtom+xop prototype for axis. I'm focusing on to the axis 2. I used the Java mail class to generate the Mime Messages for MTOM. When a MIME message is created with <<Java Mail>> it includes a "message-id" header to it. This header should be removed to for MTOM to function correctly. This header cannot be removed using removeHeader method in MimeMessage class. Pls share if anybody has an idea about how to remove that header.
I've attched a part of the MimeMessage generated. I want to remove the top most header. Thanks in Advance.. rgds, Thilina (Mora- Cse) Message-ID: <[EMAIL PROTECTED]> MIME-Version: 1.0 Content-Type: multipart/Related; boundary="----=_Part_0_27978063.1108853023349" ------=_Part_0_27978063.1108853023349 Content-Type: application/xop+xml Content-Transfer-Encoding: 8bit Content-ID: <http://example.org/my.hsh>