Using Generic Web Service for Checkins, The Primary File does not Exist (Doc ID 1577925.1)

Last updated on MARCH 21, 2017

Applies to:

Oracle WebCenter Content - Version 11.1.1.6.0 and later
Information in this document applies to any platform.

Symptoms

 When using the Webcenter Content GenericSoapService to check items into the WCC, the request fails stating that the Primary file doesn't exist.

As in this example:

The Soap request:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body xmlns:ns1="http://www.oracle.com/UCM">
<ns1:GenericRequest webKey="cs">
    <ns1:Service IdcService="CHECKIN_UNIVERSAL">
         <ns1:User></ns1:User>
         <ns1:Document>
              <ns1:Field name="dDocTitle">Soap Upload 1 Document</ns1:Field>
              <ns1:Field name="dSecurityGroup">Public</ns1:Field>
              <ns1:Field name="dDocAccount"></ns1:Field>
              <ns1:Field name="dDocType">Document</ns1:Field>
              <ns1:Field name="dDocAuthor">weblogic</ns1:Field>
              <ns1:Field name="primaryFile">files.txt</ns1:Field>
         </ns1:Document>
    </ns1:Service>
</ns1:GenericRequest>
</soap:Body>
</soap:Envelope>

  

The request response:

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header/>
    <env:Body>
        <ns2:GenericResponse xmlns:ns2="http://www.oracle.com/UCM">
            <ns2:Service IdcService="CHECKIN_UNIVERSAL">
                <ns2:Document>
                    <ns2:Field name="StatusCode">-1</ns2:Field>
                    <ns2:Field name="dStatus"/>
                    <ns2:Field name="IdcService">CHECKIN_UNIVERSAL</ns2:Field>
                    <ns2:Field name="dSecurityGroup">Public</ns2:Field>
                    <ns2:Field name="dDocType">Document</ns2:Field>
                    <ns2:Field name="scriptableActionErr"/>
                    <ns2:Field name="dWorkflowState"/>
                    <ns2:Field name="dRevClassID">8603</ns2:Field>
                    <ns2:Field name="dDocCreatedDate">{ts '2013-08-20 15:41:17.875'}</ns2:Field>
                    <ns2:Field name="dDocCreator">weblogic</ns2:Field>
                    <ns2:Field name="dDocAuthor">weblogic</ns2:Field>
                    <ns2:Field name="dDocAccount"/>
                    <ns2:Field name="dRevLabel">1</ns2:Field>
                    <ns2:Field name="xClbraUserList"/>
                    <ns2:Field name="idcToken"/>
                    <ns2:Field name="dDocName">WCC_server6_008603</ns2:Field>
                    <ns2:Field name="dRevisionID">1</ns2:Field>
                    <ns2:Field name="primaryFile">files.txt</ns2:Field>
                    <ns2:Field name="scriptableActionFunction">determineCheckin</ns2:Field>
                    <ns2:Field name="localizedForResponse">1</ns2:Field>
                    <ns2:Field name="scriptableActionFlags">12</ns2:Field>
                    <ns2:Field name="isCheckin">1</ns2:Field>
                    <ns2:Field name="isNew">1</ns2:Field>
                    <ns2:Field name="scriptableActionType">3</ns2:Field>
                    <ns2:Field name="dDocOwner">weblogic</ns2:Field>
                    <ns2:Field name="LockedContents1">dDocName:WCC_server6_008603</ns2:Field>
                    <ns2:Field name="dDocTitle">Soap Upload 1 Document</ns2:Field>
                    <ns2:Field name="dUser">weblogic</ns2:Field>
                    <ns2:Field name="refreshMonikers"/>
                    <ns2:Field name="isEditMode">1</ns2:Field>
                    <ns2:Field name="scriptableActionParams"/>
                    <ns2:Field name="refreshSubMonikers"/>
                    <ns2:Field name="dCreateDate">8/20/13 3:41 PM</ns2:Field>
                    <ns2:Field name="xClbraAliasList"/>
                    <ns2:Field name="dpEvent">OnImport</ns2:Field>
                    <ns2:Field name="dReleaseState">N</ns2:Field>
                    <ns2:Field name="changedMonikers"/>
                    <ns2:Field name="StatusMessage">Content item 'WCC_server6_008603' was not successfully checked in. The primary file does not exist.</ns2:Field>
                    <ns2:Field name="dDocLastModifiedDate">{ts '2013-08-20 15:41:17.875'}</ns2:Field>
                    <ns2:Field name="dDocLastModifier">weblogic</ns2:Field>
                    <ns2:Field name="DocExists"/>
                    <ns2:Field name="isInfoOnly"/>
                    <ns2:ResultSet name="UserAttribInfo">
                        <ns2:Row>
                            <ns2:Field name="dUserName">weblogic</ns2:Field>
                            <ns2:Field name="AttributeInfo">account,#none,15,role,Administrators,15,role,admin,15,role,refineryadmin,15,role,rmaadmin,15,role,pcmadmin,15,role,ermadmin,15,role,sysmanager,15,role,guest,15,role,authenticated,15</ns2:Field>
                        </ns2:Row>
                    </ns2:ResultSet>
                </ns2:Document>
            </ns2:Service>
        </ns2:GenericResponse>
    </env:Body>
</env:Envelope>

  

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms