Identity Management (MOSC)

MOSC Banner

Java code to call external webservice from OIM Adapter

edited Feb 27, 2018 4:01AM in Identity Management (MOSC) 1 commentAnswered

Hi,

We have deployed the REST web services code in an external weblogic server. We are passing the request in JSON format. We created a standalone java code to call the webservices by creating a client and tested it. It is working fine. But when we deployed it in OIM as a JavaTask and mapped it with an custom adapter and tried to execute the task. The execution stops while creating request JSON object and logs are also not getting rolled after that, even exception log is not getting thrown.

In standalone java code, for testing purpose, we gave the username and password of the weblogic server while creating the POST request. should we pass the username and password for the external weblogic server in adapter code also?. We tried by providing the username and password but we got Connection refused error. so we reverted the changes in the code.

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