super.setUp();
SOAPFactory factory = OMAbstractFactory.getSOAP11Factory();
ByteArrayOutputStream outStream;
String boundary;
OMOutputImpl omOutput = new OMOutputImpl(null);
boundary = omOutput.getMimeBoundary();
String contentType = org.apache.axis2.om.impl.MIMEOutputUtils
.getContentTypeForMime(boundary, omOutput.getRootContentId(),
omOutput.getCharSetEncoding(),SOAP12Constants.SOAP_12_CONTENT_TYPE);
DataHandler dataHandler;
dataHandler = new DataHandler(new ByteArrayDataSource(byteArray));
OMText textData = factory.createText(dataHandler, true);
assertNotNull(textData.getContentID());