Sie sind auf Seite 1von 2

SOAP calls to GenericSoapPort Service

From Release 9.2 (and also 8.12) the GenericSoapPort Service is available externally for customers to use
with UCM.

The following example SOAP payloads provide information about how to call the GenericSoapPort
Service to perform common functions.

The wsdl for this service is

Host://{fs-domain}/idcws/GenericSoapPort?wsdl

e.g. https://fs-aufsn4x0fxf.oracleoutsourcing.com/idcws/GenericSoapService?wsdl

The following examples were tested using SOAP UI.

Check In a file
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ucm="http://www.oracle.com/UCM">
<soapenv:Header/>
<soapenv:Body>
<GenericRequest webKey="cs" xmlns:ns0="http://www.oracle.com/UCM"
xmlns="http://www.oracle.com/UCM">
<ns0:Service IdcService="CHECKIN_UNIVERSAL">
<ns0:User/>
<ns0:Document>
<ns0:Field name="dDocTitle">test66.txt</ns0:Field>
<ns0:Field name="dDocType">Document</ns0:Field>
<ns0:Field name="dSecurityGroup">Attachments</ns0:Field>
<ns0:Field name="dDocAccount"/>
<ns0:File name="primaryFile" href="d:/xxx.txt">
<ns0:Contents>YWJjZAo=</ns0:Contents>
</ns0:File>
</ns0:Document>
</ns0:Service>
</GenericRequest>
</soapenv:Body>
</soapenv:Envelope>

In this example the Contents element contains the Base64 encoding of the file to be uploaded.

Get a file by searching on ContentId


<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="dDocName">UCMFA005228</ucm:Field>
<ucm:Field name="RevisionSelectionMethod">Latest</ucm:Field>
</ucm:Document>
</ucm:Service>
</ucm:GenericRequest>
</soapenv:Body>
</soapenv:Envelope>

Get the details of files based on Query Text Search


<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">dDocTitle &lt;substring> `test66`
&lt;AND> dSecurityGroup &lt;starts>

`Attachments`</ucm:Field>
</ucm:Document>
</ucm:Service>
</ucm:GenericRequest>
</soapenv:Body>
</soapenv:Envelope>

Das könnte Ihnen auch gefallen