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 -
Hi @brian.bourgault,
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
0 -
Hi @brian.bourgault,
Hi Brian,
Thanks for the help again. Issue is due to my network settings. I am able to connect now
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 690 Datastream
- 1.4K DSS
- 629 Eikon COM
- 5.2K Eikon Data APIs
- 11 Electronic Trading
- 1 Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 255 ETA
- 559 WebSocket API
- 39 FX Venues
- 15 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 25 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 279 Open PermID
- 45 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 23 RDMS
- 2K Refinitiv Data Platform
- 716 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 27 DACS Station
- 121 Open DACS
- 1.1K RFA
- 106 UPA
- 194 TREP Infrastructure
- 229 TRKD
- 918 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 95 Workspace SDK
- 11 Element Framework
- 5 Grid
- 19 World-Check Data File
- 1 Yield Book Analytics
- 48 中文论坛