0% found this document useful (0 votes)
267 views

Use UCM SOAP Web Service To Get The Files From UCM

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
267 views

Use UCM SOAP Web Service To Get The Files From UCM

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Use UCM SOAP Web Service to get the files from UCM

Wrote by Peng.Yang@oracle.com
Created: Oct 11, 2017
Updated: Feb 15, 2019

Web Service name: GenericSoapService, also known as IDCWS

Documentation:
“Fusion Middleware Services Reference for Oracle WebCenter Content “, 4.6.3 GET_FILE, LINK

WSDL:
/idcws/GenericSoapPort?WSDL
e.g. if your HCM Cloud URL is https://ucf5-fap1436-fs.oracledemos.com/homePage/faces/AtkHomePageWelcome
Then the WSDL URL will be: https://ucf5-fap1436-fs.oracledemos.com/idcws/GenericSoapPort?WSDL

GenericSoapService is a generic web service for general access to UCM. The service supported to execute a lot of
operations (called “IdcService”), for example,
CHECKIN_UNIVERSAL,
GET_SEARCH_RESULTS,
GET_FILE,
CHECKOUT_BY_NAME
List of IdcService is in this document LINK (optional to read)
In this document, we talked about GET_FILE IdcService.

We use the open source tool [SoapUI] to test the web service. Below are the steps and desc.

1. Prepared your test file in HCM Cloud.


Go into your HCM Cloud env, on UI, select “File Import and Export”, upload any file.
Select “View“ -> “View all”, the “Content ID” column will display. Note the Content ID. In my example, the
Content ID is “VSCUSTOMEXT_259090”
2. In SoapUI, create a new SOAP project
Give a name and paste the WSDL URL.
In my example: “https://fuscdrmsmc167-fa-ext.us.oracle.com/idcws/GenericSoapPort?WSDL”

3. A new project will be created with a new request.


Click “Auth”, select “Basic” type, input the HCM Cloud username/password. This user is used to invoke the
web service, this user must have the role “Integration Specialist”.
4. Edit the payload
Below is the example payload

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ucm="http://www.oracle.com/UCM">
<soapenv:Header/>
<soapenv:Body>
<ucm:GenericRequest webKey="cs">
<ucm:Service IdcService="GET_FILE">
<ucm:Document>
<ucm:Field name="dDocName">VSCUSTOMEXT_259090</ucm:Field>
<ucm:Field name="RevisionSelectionMethod">LatestReleased</ucm:Field>
</ucm:Document>
</ucm:Service>
</ucm:GenericRequest>
</soapenv:Body>
</soapenv:Envelope>

webKey="cs"
By default the value is “cs”, it’s part of your UCM’s URL, e.g. https://fuscdrmsmc167-fa-ext.us.oracle.com/cs

IdcService="GET_FILE"
This is the operation to execute. Again, do read the details in LINK

"dDocName">VSCUSTOMEXT_259090
That’s the content ID you got from step 1.
You can also use other elements, e.g. document name. Pls refer to above LINK.

"RevisionSelectionMethod">LatestReleased
If you only provided dDocName, then this parameter is must have. Again, you can find the details in LINK

5. In SoapUI, run the service.


You should receive the response like below, contains all the detailed information of your file.
Click “Attachment” at the bottom, and click the name link, the file will be showed.
Test completed.
Tips:
You can access your UCM file directly on the browser by providing the URI. The URI is very similar to your web
service payload. For example,
https://fuscdrmsmc167-fa-ext.us.oracle.com/cs/idcplg?
IdcService=GET_FILE&dDocName=VSCUSTOMEXT_259090&RevisionSelectionMethod=LatestReleased

Reference document:

Fusion Applications WebCenter Content Integration – Automating File Import/Export


http://www.ateam-oracle.com/fusion-applications-webcenter-content-integration-automating-file-importexport/

An Introduction to the Generic Soap Service (IDCWS) Interface to Webcenter Content


https://blogs.oracle.com/fadevrel/an-introduction-to-the-generic-soap-service-idcws-interface-to-webcenter-
content

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy