/* */ {
/* 117 */ CommonMessageContext msgContext = MessageContextAssociation.peekMessageContext();
/* 118 */ SOAPMessageImpl soapMessage = (SOAPMessageImpl)msgContext.getSOAPMessage();
/* */
/* 120 */ String cid = soapMessage.getCidGenerator().generateFromCount();
/* 121 */ AttachmentPart swaRefPart = soapMessage.createAttachmentPart(dataHandler);
/* 122 */ swaRefPart.addMimeHeader("Content-Id", '<' + cid + '>');
/* 123 */ soapMessage.addAttachmentPart(swaRefPart);
/* */
/* 125 */ if (log.isDebugEnabled()) log.debug("Created attachment part " + cid + ", with content-type " + swaRefPart.getContentType());
/* */