<soapenv:Envelopexmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"xmlns:ucm="http://www.oracle.com/UCM"xmlns:ns1="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"xmlns:ns2="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><soapenv:Header><ns1:Security><ns1:UsernameToken><ns1:Username>USERNAME GOES HERE</ns1:Username><ns1:Password>PASSWORD GOES HERE</ns1:Password></ns1:UsernameToken></ns1:Security></soapenv:Header><soapenv:Body><ucm:GenericRequestwebKey="cs"><ucm:ServiceIdcService="COLLECTION_ADD"><ucm:Document><ucm:Fieldname="dSecurityGroup">Secure</ucm:Field><ucm:Fieldname="dDocAccount"/><ucm:Fieldname="dUser">OWNER GOES HERE</ucm:Field><ucm:Fieldname="dCollectionOwner">OWNER GOES HERE</ucm:Field><ucm:Fieldname="dCollectionCreator">OWNER GOES HERE</ucm:Field><ucm:Fieldname="dCollectionName">NAME OF FOLDER GOES HERE</ucm:Field><ucm:Fieldname="xComments">DESCRIPTION OF FOLDER GOES HERE</ucm:Field><ucm:Fieldname="xClbraAliasList">GROUP LIST DATE GOES HERE</ucm:Field><ucm:Fieldname="xClbraUserList">USER LIST GOES HERE</ucm:Field><ucm:Fieldname="hasParentCollectionID">1</ucm:Field><ucm:Fieldname="dParentCollectionID">466102425461000004</ucm:Field></ucm:Document></ucm:Service></ucm:GenericRequest></soapenv:Body></soapenv:Envelope>
Comments (5)
Ntombethemba Mncela
Hi Jonathan
Is it possible to to have the service that creates the folder to upload a file/doc at the same time. Please advice.
Many thanks
Jonathan Hult
It is. But you would need to create that service yourself. Or, you could just call the 2 services (one after the other).
Ntombethemba Mncela
Okay thanks, will try and do that. Thanks
Ying Zhang
Hi, Jonathan,
I saw you are using the naming space 'xmlns:ucm="http://www.oracle.com/UCM"',
But, I found some definitions from WebCenter Content -> Adminstration -> SOAP WSDLs which are using different with yours.
One of them is 'xmlns:chec="http://www.stellent.com/CheckIn/"'.
When I do a SOAP request according to your 'Checkin' note, I got the error:
'The SOAP request is invalid. The service node 'GenericRequest' is invalid'
Does it mean there are two different ways to do SOAP request to UCM?
They have different SOAP endpoint?
Hi Jonathan
Is it possible to to have the service that creates the folder to upload a file/doc at the same time. Please advice.
Many thanks
It is. But you would need to create that service yourself. Or, you could just call the 2 services (one after the other).
Okay thanks, will try and do that. Thanks
Hi, Jonathan,
I saw you are using the naming space 'xmlns:ucm="http://www.oracle.com/UCM"', But, I found some definitions from WebCenter Content -> Adminstration -> SOAP WSDLs which are using different with yours. One of them is 'xmlns:chec="http://www.stellent.com/CheckIn/"'.
When I do a SOAP request according to your 'Checkin' note, I got the error: 'The SOAP request is invalid. The service node 'GenericRequest' is invalid'
Does it mean there are two different ways to do SOAP request to UCM? They have different SOAP endpoint?
Thanks. Ying.
Yes, there are two types of web services: https://www.oracle.com/technetwork/articles/soa/mcdonald-webcenter-content-services-1930993.html
Here is some additional reading: