Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Rest client Exception

Hello All, 

I am new to talend and when i am trying to execute the simple rest example from the help window i am getting the below exception. Can anyone guide me please. 

[statistics] connecting to socket on port 3800
[statistics] connected
Exception in component tRESTClient_1 (RestAPI)
javax.ws.rs.WebApplicationException: HTTP 404 Not Found
at local_project.restapi_0_1.RestAPI.tFixedFlowInput_1Process(RestAPI.java:1494)
at local_project.restapi_0_1.RestAPI.runJobInTOS(RestAPI.java:2041)
at local_project.restapi_0_1.RestAPI.main(RestAPI.java:1892)
[statistics] disconnected

 

 

Labels (1)
12 Replies
Anonymous
Not applicable
Author

Is it running on your Studio or Apache Karaf (Talend Runtime)? Also, try changing your URL to http://localhost:8080/UserInfo and leave the "relative path" as an empty String.

Anonymous
Not applicable
Author

hi, 

It works but now i am getting the below message in console 

 

Starting job RestAPI at 22:47 07/05/2019.

[statistics] connecting to socket on port 3411
[statistics] connected
200|<?xml version="1.0" encoding="UTF-8"?>
<root/>|
200|<?xml version="1.0" encoding="UTF-8"?>
<root/>|
200|<?xml version="1.0" encoding="UTF-8"?>
<root/>|
[statistics] disconnected

Job RestAPI ended at 22:47 07/05/2019. [exit code=0]

 

Anonymous
Not applicable
Author

That is what your service is returning.