Oracle WebCenter Content (MOSC)

MOSC Banner

what is the reason of this exception: oracle.stellent.ridc.protocol.http.HttpProtocolException: HTTP

edited Feb 16, 2011 12:57AM in Oracle WebCenter Content (MOSC) 5 commentsAnswered
Hi,

I try to to integrate a java web application with UCM. If I want to add or delete a document from ucm interface, I can do it.

The problem is, when I try to add or delete a document from java I got this error:

oracle.stellent.ridc.protocol.http.HttpProtocolException: HTTP/1.1 302 Moved Temporarily

My java code is:

IdcClient client = getClient();

IdcContext userContext = getContext();

DataBinder dataBinder = client.createBinder();

dataBinder.putLocal("IdcService", "DELETE_DOC");

dataBinder.putLocal("dID", "1");

dataBinder.putLocal("dDocName", "ORAWL16200000001");

dataBinder.putLocal("dDocTitle", "deneme1");

ServiceResponse response = client.sendRequest(userContext,dataBinder);// I GOT THE ERROR FROM THIS LINE

String serverBinder = response.getResponseAsString();

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