How do I configure pilot environment details in java sdk generated using swaggers?
Note: I have tried Quick start and it worked, I am trying to replicate the same requests through java sdk.
Best Answer
-
Hi @Rakesh.j,
Without seeing your code , your environment, and the full error message it's difficult to diagnose...also what was the exact error message after the java.net.UnknownHostException: exception?
Was it something like: Unable to resolve host "www.xyz.com": No address associated with hostname ? ...that could be your network or a typo in the URL
Have you successfully written and run other java REST api requests and understand the sdk for these?
If you did connect and it was an authentication error, the web service returns a 401: Unauthorized error. This can be generated by simply mistyping the end point name.
Also, are you connecting to the web service from the same server as the Postman collection?
Hope this helps,
Brian
0
Answers
-
Hi @Rakesh.j,
I'm glad to hear the Quick Start was useful to learn the World-Check One API. As you can imagine we have numerous environments our customers are developing their applications with, where they have experience with their IDEs. Hence, we don't support 3rd party IDEs, tools, SDKs, and all languages. For your question, which is a generic question about software development, there are several sites for this, here's just one example. Also, perhaps someone else on the Development Portal has implemented a java sdk for some other product.
http://rnavagamuwa.com/open-source/generate-client-side-code-using-swagger-codegen/
Hope this helps,
Brian
0 -
Thank you for the help, I have fired a request from java SDK, however I am currently getting the below error
" java.net.UnknownHostException: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server"
Is this because of the authentication? If so, how do i proceed?
Note : I have used the same api-key used in postman for authentication
1 -
Hi Brian,
Thanks for the help again. Issue is due to my network settings. I am able to connect now
1
Categories
- All Categories
- 6 AHS
- 39 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 60 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛