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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
glakshmi23
Contributor
Contributor

Error in accessing remote Services

i have deployed Rest Webservice with ServiceLocator Checkbox enabled.

http://192.148.0.145:8040/services/customers/. Locator server is running in this host

 

in another server i have RestConsumer which consumes the above rest service. Here i have checked the ServiceLocator checkbox and in relative path i have given "/customers/"+input.number\ and seviceName DemoRest. In this runtime i have not started the Locator server.

 

when i tried to run this job i am getting below exception. Can anyone can help me in this configuration.

 

 

karaf@trun()> Exception in component tRESTClient_1 (DemoRESTConsumer)
java.lang.IllegalStateException: No endpoint found in Service Locator for servic
e {http://www.talend.org/rest/}DemoREST
at org.talend.esb.servicelocator.cxf.internal.LocatorTargetSelector.setA
ddress(LocatorTargetSelector.java:122)
at org.talend.esb.servicelocator.cxf.internal.LocatorTargetSelector.prep
are(LocatorTargetSelector.java:75)
at org.apache.cxf.jaxrs.client.ClientConfiguration.prepareConduitSelecto
r(ClientConfiguration.java:110)
at org.apache.cxf.jaxrs.client.ClientConfiguration.getConduit(ClientConf
iguration.java:204)
at org.apache.cxf.jaxrs.client.ClientConfiguration.getHttpConduit(Client
Configuration.java:214)
at demoproject.demorestconsumer_0_1.DemoRESTConsumer.tFixedFlowInput_1Pr
ocess(DemoRESTConsumer.java:1990)
at demoproject.demorestconsumer_0_1.DemoRESTConsumer.runJobInTOS(DemoRES
TConsumer.java:3948)
at org.talend.esb.job.controller.internal.SimpleJobTask$JobRunner.run(Si
mpleJobTask.java:81)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at org.talend.esb.job.controller.internal.SimpleJobTask.run(SimpleJobTas
k.java:63)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

 

 

 

 

 

Labels (2)
1 Reply
Anonymous
Not applicable

Hello,

What's your ESB environment? Are you able to run the consumer in the sudio?

Best regards

Sabrina