InputStream in1 = TestUtils.getTestFile("attach.xml");
ap1 = msg.createAttachmentPart(in1, "text/xml");
msg.addAttachmentPart(ap1);
InputStream in2 = TestUtils.getTestFile("axis2.xml");
ap2 = msg.createAttachmentPart(in2, "text/xml");
msg.addAttachmentPart(ap2);
InputStream in3 = TestUtils.getTestFile("axis2.xml");
ap3 = msg.createAttachmentPart(in3, "text/plain");
msg.addAttachmentPart(ap3);