Java code to call external webservice from OIM Adapter
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.