Note: I have tried Quick start and it worked, I am trying to replicate the same requests through java sdk.
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
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/
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
Hi Brian,
Thanks for the help again. Issue is due to my network settings. I am able to connect now