Categories
- All Categories
- Oracle Analytics and AI Learning Hub
- 43 Oracle Analytics and AI Sharing Center
- 19 Oracle Analytics and AI Lounge
- 283 Oracle Analytics and AI News
- 59 Oracle Analytics and AI Videos
- 16.3K Oracle Analytics and AI Forums
- 6.4K Oracle Analytics and AI Labs
- Oracle Analytics and AI User Groups
- 108 Oracle Analytics and AI Trainings
- 20 Oracle Analytics and AI Challenge
- Find Partners
- For Partners
OAC Remove Folder SOAP operation failing with Invalid session ID or session expired
Hi,
I created a new OAC instance. I am trying to delete a xdo report using removeFolder soap operation. I generate the stub using the wsdl and calling it from an application in java. The session id is valid but when calling removeFolder with recursive set to true is giving the below error. Same stub works fine when we use unarchive or unarchive operations. Not sure why removeFolder alone is failing.
Exception in thread "main" com.sun.xml.ws.fault.ServerSOAPFaultException: Client received SOAP Fault from server: Authentication error. Invalid session ID or session expired (session ID ending with 'qqrgi8r') Please see the server log to find more detail regarding exact cause of the failure.
at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:163)
at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:111)
at com.sun.xml.ws.client.sei.StubHandler.readResponse(StubHandler.java:223)
at com.sun.xml.ws.db.DatabindingImpl.deserializeResponse(DatabindingImpl.java:176)
at com.sun.xml.ws.db.DatabindingImpl.deserializeResponse(DatabindingImpl.java:263)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:88)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:61)
at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:131)
at com.sun.proxy.$Proxy43.removeFolder(Unknown Source)
For the same user, with the session Id generated from the application, if I run the below using SOAPUI tool, it's removing it without any issues.
<v12:removeFolder>
<v12:path>/shared/Financials/Budgetary Control/CarryForwardOpenPOReport copy.xdo</v12:path>
<v12:recursive>true</v12:recursive>
<v12:sessionID>sessionid</v12:sessionID>
</v12:removeFolder>
Best Answer
-
This is resolved, there was an issue in the soap request not using the correct oac host.
1