OMAttribute cType1 = new OMAttributeImpl("contentType", mime,
"text/plain", fac);
text.addAttribute(cType1);
byte[] byteArray = new byte[]{13, 56, 65, 32, 12, 12, 7, -3, -2, -1,
98};
dataHandler = new DataHandler(new ByteArrayDataSource(byteArray));
OMTextImpl textData = new OMTextImpl(dataHandler, false, fac);
envelope.addChild(body);
body.addChild(data);
data.addChild(text);