Snippets

Mythics WebCenter Content - SOAP - checkin

Created by Jonathan Hult
<soapenv:Envelope xmlns: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:GenericRequest webKey="cs">
            <ucm:Service IdcService="CHECKIN_UNIVERSAL">
                <ucm:Document>
                    <ucm:Field name="dDocType">Document</ucm:Field>
                    <ucm:Field name="dSecurityGroup">Secure</ucm:Field>
                    <ucm:Field name="dDocAccount" />

                    <!-- Can be empty on initial content revision check-in -->
                    <ucm:Field name="dDocName">GENERATED UNIQUE CONTENT ID</ucm:Field>

                    <ucm:Field name="dDocTitle">TITLE OF DOCUMENT GOES HERE</ucm:Field>
                    <ucm:Field name="dDocAuthor">OWNER GOES HERE</ucm:Field>
                    <ucm:Field name="dDocCreator">OWNER GOES HERE</ucm:Field>
                    <ucm:Field name="dDocOwner">OWNER GOES HERE</ucm:Field>

                    <ucm:Field name="xCollectionID">FOLDER ID GOES HERE</ucm:Field>
                    <ucm:Field name="dRevLabel">REVISION NUMBER GOES HERE</ucm:Field>
                    <ucm:Field name="dDocLastModifiedDate">LAST MODIFIED DATE GOES HERE</ucm:Field>
                    <ucm:Field name="dCreateDate">CREATED DATE GOES HERE</ucm:Field>
                    <ucm:Field name="dDocCreatedDate">CREATED DATE GOES HERE</ucm:Field>
                    <ucm:Field name="dInDate">CREATED DATE GOES HERE</ucm:Field>

                    <ucm:Field name="xClbraAliasList">GROUP LIST DATE GOES HERE</ucm:Field>
                    <ucm:Field name="xClbraUserList">USER LIST GOES HERE</ucm:Field>

                    <ucm:Field name="primaryFile">FILE NAME GOES HERE</ucm:Field>

                    <!-- href value does not matter -->
                    <ucm:File name="primaryFile" href="C:/test.txt">
                        <ucm:Contents>BASE64 ENCODING GOES HERE</ucm:Contents>
                    </ucm:File>
                </ucm:Document>
            </ucm:Service>
        </ucm:GenericRequest>
    </soapenv:Body>
</soapenv:Envelope>

Comments (0)

HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.