Oracle Analytics Server (OAS) (MOSC) READ-ONLY

MOSC Banner

How to use pasteItem2 method to move user folder

edited Oct 23, 2017 6:54AM in Oracle Analytics Server (OAS) (MOSC) READ-ONLY 2 commentsAnswered

Could anyone help to understand why I'm getting below error while using  pasteItem2  either normal user or admin user

Client received SOAP Fault from server:  access denied for user  to path paste. Please see the server log to find more detail regarding exact cause of the failure.

Here is my java code

      FileDataSource fileDataSource = new FileDataSource(sArchieveFullPath);      DataHandler pasteHandler = new DataHandler(fileDataSource);      m_webCatalogService.pasteItem2 (pasteHandler, sDestPath, 1, 3, 1, null, sAdminSessId)

So, what actually I trying to achieve

I will have source and destination POD. Since, only specific user has access to /users/ folder, so, using impersonate login. I copied specific folder and now I'm trying to paste this folder to destination POD using admin user and/or same user, which was used while copying. But, when calling pasteItem2 method, I'm getting above error. I'm not sure, If I need to assign any specific privilege.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center