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:
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:
Hadi
19-01-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
Andy
14-02-2014 at 08:26
Hi Hadi, Content need to be decoded in Base64. To facilitate getting the content in Base64 (as an example) you can use GetFile service for getting existing content passing an ID. The result will bring to you content in Base64. Regards..