Skip to Main Content

Application Development Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

XML request of check in service using UCM 11g generic service

DivyanshuNov 30 2013 — edited Dec 2 2013

Hi,

I am trying to Checkin a file in UCM  using  below soap request :

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
      <soap:Body>
           <ns1:GenericRequest xmlns:ns1="http://www.oracle.com/UCM" webKey="cs">
                <ns1:Service IdcService="CHECKIN_UNIVERSAL">
                     <ns1:User></ns1:User>
                     <ns1:Document>
                          <ns1:Field name="xCollectionID">843055565692000024</ns1:Field>
                          <ns1:Field name="xClbraUserList">UP1001(RW)</ns1:Field>
                          <ns1:Field name="dDocType">ATTACHMENT</ns1:Field>
                          <ns1:Field name="dSecurityGroup">ACLrestricted</ns1:Field>
                          <ns1:Field name="dDocTitle">Check in from EM</ns1:Field>
                          <ns1:Field name="dDocAccount">S01</ns1:Field>
                          <ns1:File name="primaryFile" href="/home/oracle/Documents/test.pdf">
                               <ns1:Contents></ns1:Contents>
                     </ns1:File>
                 </ns1:Document>
             </ns1:Service>
         </ns1:GenericRequest>
     </soap:Body>
</soap:Envelope>


Problem :


This request works fine and a document is getting Checked in particular folder. Problem is that the file that gets checked in is an empty file (a 0 B file).


Am i providing wrong XML request  ? Please Help .



regards

Divyanshu


Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 30 2013
Added on Nov 30 2013
1 comment
466 views