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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
_AnonymousUser
Specialist III
Specialist III

TOS ESB deploy Job with tRESTrequest & tRESTreponse to Tomcat or other

Hi all,
Using TOS for ESB, I have a simple job like this : tRESTRequest > tXMLMap > tRESTResponse

I have no problem to call the REST service when I run it from the studio.
But if I deploy a war in tomcat, I have a runjob method and not the expected REST URL call as I have in TOS.
How to deploy this simple REST call on a webapp server and to call it like in TOS ?
I have also tried to deploy the job as jar for OSGI but in the Talend Runtime I have this error:
karaf@trun> install file://C:/talend/DummyREST/DummyREST-0.1.jar
Bundle IDs:
Error executing command: Error installing bundles:
Unable to install bundle file://C:/talend/DummyREST/DummyREST-0.1.jar
(Tomcat if my prefered option to host this job)
any idea ?
Paul.
Labels (4)
6 Replies
Anonymous
Not applicable

Hi,
Did you follow up document TalendHelpCenter:How to build Jobs to deploy your job?
Best regards
Sabrina
Anonymous
Not applicable

Hi Sabrina, thank you for your help.
I have been able to deploy a webservice (soap) in the way your say.
But I want to do it with REST, is there any way or alternative ?
Thank you.
Paul
Anonymous
Not applicable

Hi,
For deploy REST service into Talend Runtime option, you should either put the jar file into deploy/ folder or install it from console command:
install -s file:///C:/talend/DummyREST/DummyREST-0.1.jar
(-s Starts the bundles after installation)
file:/// or file:/ is correct prefix , but not file://
Anonymous
Not applicable

xldai, ten points !
thank you.
Anonymous
Not applicable

And how do you make the endpoints relative to the deployment platform, rather than specifically bound to an address 0683p000009MAB6.pngort combination?
Anonymous
Not applicable

AFAIK one needs to specify a relative address in tRESTRequest properties
Cheers, Sergey