Skip to Main Content

Java APIs

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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Authenticate to Oracle OCI with Java

User_R5KVKDec 29 2022

Hi,
I want to be able to authenticate with the config file.
Then run Rest API calls (especially Data science related API's)
For example, I managed to run the following examples successfully :
1. https://docs.oracle.com/en-us/iaas/Content/API/Concepts/signingrequests.htm#seven__Java
2. https://github.com/oracle/oci-java-sdk/blob/master/bmc-examples/src/main/java/ListDBVersionExample.java
3. https://github.com/oracle/oci-java-sdk/blob/master/bmc-examples/src/main/java/GetInstancePublicIpExample.java
So my question are:
Can I use the first example to run other API's? like Identity (policies etc.) or Data science?
If not, how can I achive that?
What is 'tenant-base-url' in https://docs.oracle.com/en/cloud/paas/identity-cloud/rest-api/SendRequests.html ?
Thanks!

Comments

Hiroshi Tonegawa May 31 2024

追加情報です。

リスナーからエラーメッセージでておりました。ただどうしたら良いのかわかりません。

そのlog(TNSLSNR.log)を添付しました。ここから原因、また対処法など解析できませんでしょうか?

大変困っております。よろしくお願いいたします。

TNSLSNR_496.log

1 - 1

Post Details

Added on Dec 29 2022
0 comments
503 views