Hi everyone,
I am using JDEV 11.1.1.7 and Content Server version is 11.1.1.7
I want delete folder from content server; but I cant't execue this action.
All services are working, like FLD_BROWSE, UPDATE_DOCINFO, DELETE_DOC; but FLD_DELETE is not working.
I am not getting any error from server, response is OK. When I check the folder on content server, it there still and server didn't delete it.
When I check FodlerGUID or like folder path, they are true.
I tried 2 function for this action; but failed.
Function 1
_________
DataBinder requestData2 = idcClient.createBinder();
requestData2.putLocal("IdcService", "FLD_DELETE");
requestData2.putLocal("path", parentFolderPath);
requestData2.putLocal("fFolderGUID", fodlerGUID);
// Get service response
ServiceResponse serviceResponse2 = null;
try {
serviceResponse2 =
idcClient.sendRequest(idcContext, requestData2);
} catch (IdcClientException e) {
e.printStackTrace();
return false;
}
Function 2
________
pblic Boolean deleteFolder(String parentFolderPath) {
try {
String fodlerGUID = getFolderGUID(parentFolderPath);
// Set service request parameters
DataBinder requestData = idcClient.createBinder();
requestData.putLocal("IdcService", "FLD_DELETE");
requestData.putLocal("path", "path:/"+parentFolderPath);
requestData.putLocal("fFolderGUID", "fFolderGUID:"+fodlerGUID);
// Get service response
ServiceResponse serviceResponse = null;
try {
serviceResponse =
idcClient.sendRequest(idcContext, requestData);
} catch (IdcClientException e) {
e.printStackTrace();
return false;
}
return true;
} catch (Exception ex) {
ex.printStackTrace();
return false;
}
}
So, why this action is not executing by content server or why folder is not deleting by content server?
Thanks,
Regards.