Oracle WebCenter Content (MOSC)

MOSC Banner

unable to call a custom Java method from an Oracle Web Center Content Service

edited Mar 20, 2020 10:39AM in Oracle WebCenter Content (MOSC) 5 commentsAnswered

Hi Team,

I need to create a custom component in UCM which call a custom Java method from an Oracle Web Center Content Service. I'm following the steps provided in the guide for customizing the component  but I'm unable to call this custom component if this Custom Java Method internally using the RIDC API to call the Third Party WebService.

Method:

    public void greet() {

        try {

            String user = m_binder.getAllowMissing("dUser");

            m_binder.putLocal("StatusMessage", "Welcome user: " + user);

            UCM wccService = new UCM();

            m_binder.putLocal("StatusMessage", "Created UCM Class Instance");

            IdcClient idcClient = wccService.getUCMConnection("idc://nlwowcrvd03.mtn.co.za:4444");

            m_binder.putLocal("StatusMessage", "Got Client Connection");

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center