We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to get document id from WCC using SOAP web service

Received Response
22
Views
2
Comments
edited Jan 22, 2020 1:48PM in General Technical Discussions 2 comments

Summary

I'm writing a groovy script to get the document id in web center content based on the title name of the file

Content

I'm writing a groovy script to get the document id of a file in web center content. The input would be the query text as shown below:

Input XML in SoapUI:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"&gt;
   <soap:Header>
   </soap:Header>
   <soap:Body xmlns:ns1="http://www.oracle.com/UCM"&gt;
      <ns1:GenericRequest webKey="cs">
         <ns1:Service IdcService="GET_SEARCH_RESULTS">
            <ns1:User/>
            <ns1:Document>
               <ns1:Field name="QueryText">&lt;qsch>new_del_report&lt;/qsch></ns1:Field>

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!