log.debug("Content-Length value has been reset to " + contentLength);
}
DataHandler dataHandler = new DataHandler(
new SourceDataSource(
null, contentType, new StreamSource(object.getDataInputStream())));
s3SoapBinding.addAttachment(dataHandler);
} else {
DataHandler dataHandler = new DataHandler(
new SourceDataSource(
null, contentType, new StreamSource()));
s3SoapBinding.addAttachment(dataHandler);
}
Calendar timestamp = getTimeStamp( System.currentTimeMillis() );