Skip to Main Content

Application Development Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

FLD_DELETE service is not working.

Jack IssacJun 30 2016 — edited Jul 11 2016

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.

This post has been answered by pradeep.mahajan on Jun 30 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 8 2016
Added on Jun 30 2016
4 comments
974 views