Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
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.
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]
That is what your service is returning.