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!

Retrieve DocUrl from Doc_Info service of UCM

EladFeb 24 2016 — edited Feb 29 2016

Hi

I work in OSB version 11G.

I need to get the url of file in ucm.

As I know, I can get it from DocUrl attribute from Doc_Info service of UCM.

I retrieve the dID from checkin_universal service like this:

$body/ucm:GenericResponse/ucm:Service/ucm:Document/ucm:Field[@name="dID"]/text()

and I assigned it into didVar variable.

when I print a report to didVar - I do get a value!!!

then I call to Doc_Info service to retrieve the url:

<ucm:GenericRequest webKey="cs" xmlns:ucm="http://www.oracle.com/UCM">

    <ucm:Service IdcService="DOC_INFO">    

        <ucm:User></ucm:User>

        <ucm:Document>

            <ucm:Field name="dID">{$didVar}</ucm:Field>

        </ucm:Document>

    </ucm:Service>

</ucm:GenericRequest>

If I put a fixed value instead of $didVar (like 9483 for example), I get a value the DocUrl.

But when I put like I wrote above ({didVar}), the DocUrl attribute doesn't appear in the Doc_Info service (I mean, the attribute itself, not only the value).

Can somone know what the problem is?

Thanks in advance,

Elad

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 28 2016
Added on Feb 24 2016
6 comments
1,633 views