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!

Unable to fetch document from WebCenter Content : Imaging via CURL

Ankit Asati-OracleMay 22 2018 — edited May 29 2018

@

Hi


I am trying to download a document from the WebCenter Content server (stored in pdf format) via CURL. This is the command that I am using is:

curl http://weblogic:weblogic1@10.180.6.103:16000/imaging/faces/Pages/Viewer.jspx? -d "IdcService=GET_FILE&dID=2.IPM_2970772"

This is the response that I am getting:

<html><head><title>302 Moved Temporarily</title></head>

<body bgcolor="#FFFFFF">

<p>This document you requested has moved temporarily.</p>

<p>It's now at <a href="http://10.180.6.103:16000/imaging/faces/Authentication/Login.jspx">http://10.180.6.103:16000/imaging/faces/Authentication/Login.jspx</a>.</p>

</body></html>

I am using WebCenter Content server version 12c: 12.2.1.3.0

If I open the URL directly in a browser, it asks me for the username and password, after which it opens the document successfully.

Can someone please suggest the possible root cause of this issue.

I have gone through following links to check how to access content from WebCenter Content server:

1) Core Content Only Blog - Redstone Content Solutions

2) https://docs.oracle.com/cd/E23943_01/doc.1111/e11011/c04_core.htm#CSSRG2458

TIA!

Ankit

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 26 2018
Added on May 22 2018
6 comments
416 views