Categories
- All Categories
- 75 Oracle Analytics News
- 7 Oracle Analytics Videos
- 14K Oracle Analytics Forums
- 5.2K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 40 Oracle Analytics Trainings
- 59 Oracle Analytics Data Visualizations
- 2 Oracle Analytics Data Visualizations Challenge
- 3 Oracle Analytics Career
- 4 Oracle Analytics Industry
- 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