Skip to Main Content

Integration

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!

Download File From UCM

Abhijeet KJul 3 2018 — edited Jul 4 2018

Hi All,

I am using GenericPortService to download the file from oracle UCM. using oracle Integration Cloud

This payload works fine from soapUI

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

<soap:Header/>

<soap:Body xmlns:ns1="http://www.oracle.com/UCM">

  \<ns1:GenericRequest webKey="cs">

     \<ns1:Service IdcService="GET\_FILE">

        \<ns1:Document>

<ns1:Field name="dDocName">UCMFA01462362</ns1:Field>

<ns1:Field name="RevisionSelectionMethod">Latest</ns1:Field>

        \</ns1:Document>

     \</ns1:Service>

  \</ns1:GenericRequest>

</soap:Body>

</soap:Envelope>

But how to pass the value " <ns1:Field name="dDocName">UCMFA01462362</ns1:Field>" in ICS Map?

Tried 2 different options

  1. Tried custom xsl but getting this error

pastedImage_0.png

  1. Tried to use

QueryText=dDocName <matches> `TEST`

Getting this error

|

|

<bpelFault><faultType>0</faultType><selectionFailure xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"><part name="summary"><summary>The <from> value is invalid. The result of from-spec is null. Either the from node value or the xpath query in the from node value was invalid. According to BPEL4WS spec 1.1 section 14.3, the from node value should not be empty. Verify the from node value at line number 415 in the BPEL source. </summary></part><part name="query"><query>$ics_api_internal_variable2.GenericResponse/../nssrcmpr:GenericResponse/nssrcmpr:Service/nssrcmpr:Document/nssrcmpr:File/nssrcmpr:Contents</query></part><part name="lineNumber"><lineNumber>415</lineNumber></part><part name="activity"><activity>10020-BpAss24-BpSeq1.3-40</activity></part></selectionFailure></bpelFault>

|

|

|

Payload generated

pastedImage_1.png

Thanks,

Abhi

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 1 2018
Added on Jul 3 2018
3 comments
2,124 views