Oracle WebCenter Content (MOSC)

MOSC Banner

Issue on QueryText when using RIDC GET_SEARCH_RESULTS service

edited Jan 25, 2019 3:12PM in Oracle WebCenter Content (MOSC) 2 commentsAnswered ✓

I am using http protocal to connect to local VM UCM in 12c.

and when perform GET_SEARCH_RESULTS, if QueryText is empty, I can get results back.

But if I put QueryText, got the following error:

oracle.stellent.ridc.protocol.ServiceException: Unable to retrieve search results. The query text is invalid.

Here is my sample code:

try {

    //connectionURL= "http://localhost:7777/cs/idcplg";

    IdcClientManager manager = new IdcClientManager();                

    IdcClient idcClient = manager.createClient(connectionURL);          

    idcClient.getConfig ().setProperty ("http.library", "oracle");          

    IdcContext userContext = new IdcContext(user,pass);

    

    idcClient.getConfig().setSocketTimeout(60000);

    DataBinder binder = idcClient.createBinder ();

    binder.putLocal("IdcService", "GET_SEARCH_RESULTS");          

    //binder.putLocal("QueryText", ""); -- this works fine and can get results back.

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