boolean incompleteListing = true;
try {
while (incompleteListing) {
AmazonS3SoapBindingStub s3SoapBinding = getSoapBinding();
Calendar timestamp = getTimeStamp( System.currentTimeMillis() );
String signature = ServiceUtils.signWithHmacSha1(getAWSSecretKey(),
Constants.SOAP_SERVICE_NAME + "ListBucket" + convertDateToString(timestamp));
ListBucketResult result = s3SoapBinding.listBucket(
bucketName, prefix, priorLastKey, new Integer((int)maxListingLength),
delimiter, getAWSAccessKey(), timestamp, signature, null);
ListEntry[] entries = result.getContents();
S3Object[] partialObjects = new S3Object[