Skip to main content
Announcements
New: No-code data prep in Qlik Cloud Analytics™ TAKE A TOUR
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Invoking REST web service deployed in Talend Runtime

Hi ,
I have created a sample REST webservice , which works fine in the studio. When I export it as a Axis war and deploy it in Talend Runtime, I see it being bound but I am unable to invoke it. When I hit the service I always get a 404 from the jetty server. Could someone please help.
Labels (3)
4 Replies
Anonymous
Not applicable
Author

I have also come across this issue. I have exported the job as a OSGI Bundle for ESB (without maven scripts) and dropped the jar file into the deploy folder in the container. I can start the ESB (Karaf) and see the item in the list with the state "Installed", but cannot start it. I get the following error message:
Error executing command: Error starting bundles: Unable to start bundle 133: The bundle "testproject.testing_0.1.0 " could not be resolved. Reason: Missing Constraint: Import-Package: org.apache.cxf.management.counters; version="0.0.0"
It runs find in Studio (using v5.2).
What am I doing wrong (or missed).
Anonymous
Not applicable
Author

I just noticed this statement in the documentation, so perhaps tRESTRequest cannot be deployed to the ESB.
joseng_62
Contributor II
Contributor II

Strange that no one has reply to these post.
Karaf Container is supposed to handle osgi and war files. The jobs run fine in Talend studio, but when deployed to Karaf and the URL is used then nothing can be found.
This must be a job configuration and typing the correct URL issue.
Is their a Talend example out there that shows easy examples as to how to do this?
I started the Karaf and tried multiple ports 8040 etc, I can connect to karaf via port 8101 as a service, but struggling to access the deployed osgi and war jobs. You gone ask for a example.
I am using the Talend job tutorial WSDL, Job named Simplejob and Airport Services.
Export it as a war, deployed to karaf, but nothing???
Anonymous
Not applicable
Author

Hi
AFAIK the WAR deployment into the OSGi container is not supported at the tooling level. You may try to do "feature:install war" in Karaf first before trying to deploy a WAR into it. You are right OSGI containers support the war deployment in general, but note it is highly ineffective from the OSGI point of view, where you have most of the required libraries already deployed as bundles and also having a WAR shipping the same libraries inside the archive.
By the way, the subject of this thread is confusing, you are apparently interested in deploying a SOAP WS service
HTH, Sergey