RSS

some Oracle UCM/WCC (WebcenterContent) examples and personal reminders

14 Jan

Addresses:

Console: http://servername:port/cs/
SOAP: http://servername:port/_dav/cs/idcplg (wsdl endpoints)
ODDC: http://servername:port/cs/idcplg
RIDC: http://servername:port/cs/idcplg (URL to Oracle Content Server’s CGI path)

UCM uses 2 ports it seems:
- Managed Server port + Internet traphic (console): default 16200
- IDC port: default 4444

Configuration

Config file containing ports: %domainhome%/ucm/cs/config/config.cfg

 

Default UCM WSDLs can be found here:

whereToFindWSDLs

Example SOAP message to upload document REQUEST:

</pre>
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:chec="http://www.stellent.com/CheckIn/">
 <soapenv:Header/>
 <soapenv:Body>
 <chec:CheckInUniversal>
 <chec:dDocTitle>final01.pdf</chec:dDocTitle>
 <chec:dDocType>Document</chec:dDocType>
 <chec:dDocAuthor>weblogic</chec:dDocAuthor>
 <chec:dSecurityGroup>PUBLIC</chec:dSecurityGroup>
 <chec:dDocAccount>WebContent</chec:dDocAccount>
 <!-- SECURE / PUBLIC / PersonalSpaces / process_spaces -->
 <chec:CustomDocMetaData>
 <chec:property>
 <chec:name>xComments</chec:name>
 <chec:value>my example uploaded document</chec:value>
 </chec:property>
<!-- <chec:property>
 <chec:name>xCollectionName</chec:name>
 <chec:value>/PersonalSpaces/weblogic/Public/</chec:value>
 </chec:property> -->
 </chec:CustomDocMetaData>

<chec:primaryFile>
 <chec:fileName>myDocument.pdf</chec:fileName>
 <chec:fileContent>base65 clob here</chec:fileContent>
 </chec:primaryFile>
<!--
 <chec:alternateFile>
 <chec:fileName>?</chec:fileName>
 <chec:fileContent>cid:1218599640725</chec:fileContent>
 </chec:alternateFile>
 <chec:extraProps>
 <chec:property>
 <chec:name>?</chec:name>
 <chec:value>?</chec:value>
 </chec:property>
 </chec:extraProps>
-->
 </chec:CheckInUniversal>
 </soapenv:Body>
</soapenv:Envelope>
<pre>

Example SOAP message to upload document RESPONSE:


<SOAP-ENV:Body>
 <idc:CheckInUniversalResponse xmlns:idc="http://www.stellent.com/CheckIn/">
 <idc:CheckInUniversalResult>
 <idc:dID>100</idc:dID>
 <idc:dRevisionID>1</idc:dRevisionID>
 <idc:dRevClassID>100</idc:dRevClassID>
 <idc:dRevLabel>1</idc:dRevLabel>
 <idc:StatusInfo>
 <idc:statusCode>0</idc:statusCode>
 <idc:statusMessage>Successfully checked in content item '1023157120000100'.</idc:statusMessage>
 </idc:StatusInfo>
 </idc:CheckInUniversalResult>
 </idc:CheckInUniversalResponse>
 </SOAP-ENV:Body>

Get Document:

The SOAP CheckInUniversal call will return a documentID which can be used like this:

http://servername:port/cs/idcplg?IdcService=GET_FILE&dID=100

Configuration:

Default port is 16200 but can be changed in EM here:

UCMaddress

References:

About these ads
 
2 Comments

Posted by on 01/14/2013 in Oracle, UCM, WCC

 

Tags: , ,

2 Responses to some Oracle UCM/WCC (WebcenterContent) examples and personal reminders

  1. Hadi

    01/19/2013 at 18:37

    Hi,

    I was tried to checkin some content but in tag Filecontents we have to put cid. After the files succesfully checkin, the file cant be read. Seems it encrypted. My question how we define cid ? And how the files decode?

    Thanks

     

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.

Join 265 other followers

%d bloggers like this: