11. Before start using the
GenericSOAPPort is important that security is added to the request you can easily
do this with a policy “oracle/wss_username_token_client_policy” or add a
username and password in the SOAP UI for testing
22. Check in a new document
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ucm="http://www.oracle.com/UCM">
<soapenv:Header/>
<soapenv:Body>
<GenericRequest
xmlns:ns0="http://www.oracle.com/UCM" xmlns="http://www.oracle.com/UCM"
webKey="cs">
<ns0:Service IdcService="CHECKIN_NEW">
<ns0:User/>
<ns0:Document>
<ns0:Field
name="dDocTitle">test56.pdf</ns0:Field>
<ns0:Field
name="dDocType">Document</ns0:Field>
<ns0:Field
name="dSecurityGroup">Public</ns0:Field>
<ns0:File name="primaryFile"
href="test51.pdf">
<ns0:Contents>
[base 64]
</ns0:Contents>
</ns0:File>
</ns0:Document>
</ns0:Service>
</GenericRequest>
</soapenv:Body>
</soapenv:Envelope>
33. Retrieve
document id dID from the response from
the previous call and use it as input parameter, “GET_FILE”
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ucm="http://www.oracle.com/UCM">
<soapenv:Header/>
<soapenv:Body>
<ucm:GenericRequest webKey="cs">
<ucm:Service IdcService="GET_FILE">
<ucm:Document>
<ucm:Field
name="dID">6404</ucm:Field>
</ucm:Document>
</ucm:Service>
</ucm:GenericRequest>
</soapenv:Body>
</soapenv:Envelope>
44. Approve
a document
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ucm="http://www.oracle.com/UCM">
<soapenv:Header/>
<soapenv:Body>
<GenericRequest xmlns:ns0="http://www.oracle.com/UCM"
xmlns="http://www.oracle.com/UCM" webKey="cs">
<ns0:Service
IdcService="WORKFLOW_APPROVE">
<ns0:Document>
<ns0:Field
name="dID">6402</ns0:Field>
</ns0:Document>
</ns0:Service>
</GenericRequest>
</soapenv:Body>
</soapenv:Envelope>
55. Scan
a document after approved and indexer successfully run the GET_SEARCH_RESULT
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ucm="http://www.oracle.com/UCM">
<soapenv:Header/>
<soapenv:Body>
<ucm:GenericRequest webKey="cs">
<ucm:Service IdcService="GET_SEARCH_RESULTS">
<ucm:Document>
<ucm:Field name="QueryText">dID = `6405`</ucm:Field>
</ucm:Document>
</ucm:Service>
</ucm:GenericRequest>
</soapenv:Body>
</soapenv:Envelope>
Buen dia, tendras un tutorial donde muestres como los generaste, para posteriormente consumirlos, de antemano gracias Aaron
ReplyDeleteHi,
ReplyDeleteI tried executing IdcService="CHECKIN_UNIVERSAL" but i am getting this error: Error: java.lang.NullPointerException
I provided the primary file -
What could be the issue here?