<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Job run from camel route in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Job-run-from-camel-route/m-p/2323131#M93010</link>
    <description>Hi Ytuzet, 
&lt;BR /&gt;thank you very much, you've helped me a lot 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; seems I missed the deploy folder. 
&lt;BR /&gt;I still got some errors, but seems the webinars will help me go on. 
&lt;BR /&gt;indeed the route was a desperate try 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAB6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/158321i00588DF41617C922/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAB6.png" alt="0683p000009MAB6.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Have a nice weekend 
&lt;BR /&gt;Carpe diem 
&lt;BR /&gt; Gabriel</description>
    <pubDate>Fri, 16 Dec 2011 20:52:22 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-12-16T20:52:22Z</dc:date>
    <item>
      <title>Job run from camel route</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Job-run-from-camel-route/m-p/2323129#M93008</link>
      <description>Dear sirs, 
&lt;BR /&gt;this topic is related to 
&lt;BR /&gt; 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCqQVCA0" target="_blank" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/TSO-5-0-vs-ESB-SE-running-tESB-web-service/td-p/108761&lt;/A&gt; 
&lt;BR /&gt;where I cannot expose jobs as services (I don't know what to do with the .KAR file, seems it won't deploy and nobody has answered yet) 
&lt;BR /&gt;So I decided to expose a camel endpoint and call a job from the endpoint (well - still I have no idea how to pass data, but first things first). So I created a simple route. (TOS 5.0) 
&lt;BR /&gt;When the route is started from TOS, it seems running, returns a correct and nice WSDL, published endpoint. but invoking the WS I got response 
&lt;BR /&gt; 
&lt;PRE&gt;      &amp;lt;soap:Fault&amp;gt;&lt;BR /&gt;      &amp;lt;soap:Fault&amp;gt;&lt;BR /&gt;         &amp;lt;faultcode&amp;gt;soap:Server&amp;lt;/faultcode&amp;gt;&lt;BR /&gt;         &amp;lt;faultstring&amp;gt;java.lang.Error: java.lang.Error: java.lang.NoClassDefFoundError: org/talend/webservice/helper/conf/ServiceHelperConfiguration&amp;lt;/faultstring&amp;gt;&lt;BR /&gt;      &amp;lt;/soap:Fault&amp;gt;&lt;/PRE&gt; 
&lt;BR /&gt;I found the class in talend-ws,,,jar in TOS, but not in runtime - so seem it is not a way. 
&lt;BR /&gt;of cause I've added 
&lt;B&gt;camel-tis&lt;/B&gt; to dependencies 
&lt;BR /&gt;deploying the route into a runtime I got anyway a not very nice exception 
&lt;BR /&gt; 
&lt;PRE&gt;karaf@trun&amp;gt; Failed to create route cCXF_1 at: &amp;gt;&amp;gt;&amp;gt; To &amp;lt;&amp;lt;&amp;lt; in route: Route &amp;lt;&amp;lt;&amp;lt; in route: Route[[Fro&lt;BR /&gt;m[cxf://http://localhost:9040/esb/Test1?dataFormat... because of Failed to resol&lt;BR /&gt;ve endpoint: talend://demo1.child4_0_1.Child4?context=Default due to: No compone&lt;BR /&gt;nt found with scheme: talend&lt;BR /&gt;        at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java&lt;BR /&gt;:820)&lt;BR /&gt;        at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java&lt;BR /&gt;:165)&lt;BR /&gt;        at org.apache.camel.impl.DefaultCamelContext.startRoute(DefaultCamelCont&lt;BR /&gt;ext.java:697)&lt;BR /&gt;        at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(Defau&lt;BR /&gt;ltCamelContext.java:1654)&lt;BR /&gt;        at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelCo&lt;BR /&gt;ntext.java:1441)&lt;BR /&gt;        at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext&lt;BR /&gt;.java:1338)&lt;BR /&gt;        at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:67)&lt;BR /&gt;        at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:54)&lt;BR /&gt;        at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.j&lt;BR /&gt;ava:1316)&lt;BR /&gt;        at demo1.route1_0_1.route1$1CamelImpl.doStart(route1.java:201)&lt;BR /&gt;        at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:67)&lt;BR /&gt;        at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:54)&lt;BR /&gt;        at org.apache.camel.impl.MainSupport.run(MainSupport.java:136)&lt;BR /&gt;        at demo1.route1_0_1.route1.Route(route1.java:295)&lt;BR /&gt;        at demo1.route1_0_1.route1.runJobInTOS(route1.java:403)&lt;BR /&gt;        at org.talend.esb.job.controller.internal.RouteAdapter.run(RouteAdapter.&lt;BR /&gt;java:86)&lt;BR /&gt;        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec&lt;BR /&gt;utor.java:886)&lt;BR /&gt;        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor&lt;BR /&gt;.java:908)&lt;BR /&gt;        at java.lang.Thread.run(Thread.java:662)&lt;BR /&gt;Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve en&lt;BR /&gt;dpoint: talend://demo1.child4_0_1.Child4?context=Default due to: No component fo&lt;BR /&gt;und with scheme: talend&lt;BR /&gt;        at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelCon&lt;BR /&gt;text.java:449)&lt;BR /&gt;        at org.apache.camel.util.CamelContextHelper.getMandatoryEndpoint(CamelCo&lt;BR /&gt;ntextHelper.java:48)&lt;BR /&gt;        at org.apache.camel.model.RouteDefinition.resolveEndpoint(RouteDefinitio&lt;BR /&gt;n.java:180)&lt;BR /&gt;        at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRout&lt;BR /&gt;eContext.java:110)&lt;BR /&gt;        at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRout&lt;BR /&gt;eContext.java:116)&lt;BR /&gt;        at org.apache.camel.model.SendDefinition.resolveEndpoint(SendDefinition.&lt;BR /&gt;java:61)&lt;BR /&gt;        at org.apache.camel.model.SendDefinition.createProcessor(SendDefinition.&lt;BR /&gt;java:55)&lt;BR /&gt;        at org.apache.camel.model.ProcessorDefinition.makeProcessor(ProcessorDef&lt;BR /&gt;inition.java:437)&lt;BR /&gt;        at org.apache.camel.model.ProcessorDefinition.addRoutes(ProcessorDefinit&lt;BR /&gt;ion.java:183)&lt;BR /&gt;        at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java&lt;BR /&gt;:817)&lt;BR /&gt;        ... 18 more&lt;/PRE&gt; 
&lt;BR /&gt;my biggest problem is the mentioned thread - I need to expose a job as web service. In TOS 4.2.1 it worked (though I had to stanrd them manually ), but at least it was more intuitive. 
&lt;BR /&gt;Maybe I've just got stucked in past procedures, missed something, but any guidance is welcome 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Kind regards 
&lt;BR /&gt; Gabriel</description>
      <pubDate>Sat, 16 Nov 2024 12:29:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Job-run-from-camel-route/m-p/2323129#M93008</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Job run from camel route</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Job-run-from-camel-route/m-p/2323130#M93009</link>
      <description>Hello,&lt;BR /&gt;I think a route is not the solution for your problem. &lt;BR /&gt;To create a webservice In TOS for ESB 5.0 you must follow these steps:&lt;BR /&gt;- create or import a wsdl in services&lt;BR /&gt;- associate a new or existing job to operation defined in your wsdl (this job should contain a tesbresquest and tesbresponse)&lt;BR /&gt;- right click on your wsdl under services and export your service to a .kar package&lt;BR /&gt;- put your kar file in the deploy folder of your karaf container&lt;BR /&gt;- test your service with a client like soap ui, create a project and add wsdl (http://&amp;lt;your endpoint&amp;gt;?wsdl)&lt;BR /&gt;from my own experience I put 8040 as port for my service otherwise my service wasn't accessible from other locations&lt;BR /&gt;8040 is the default port for osgi http service in TESB 5.0, you can define in the pax web config file of the container&lt;BR /&gt;you can follow screencasts from R.Zubairov here &lt;A href="http://www.screenr.com/user/zubairov" rel="nofollow noopener noreferrer"&gt;http://www.screenr.com/user/zubairov&lt;/A&gt;&lt;BR /&gt;it might help</description>
      <pubDate>Fri, 16 Dec 2011 20:34:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Job-run-from-camel-route/m-p/2323130#M93009</guid>
      <dc:creator>ytuzet</dc:creator>
      <dc:date>2011-12-16T20:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Job run from camel route</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Job-run-from-camel-route/m-p/2323131#M93010</link>
      <description>Hi Ytuzet, 
&lt;BR /&gt;thank you very much, you've helped me a lot 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; seems I missed the deploy folder. 
&lt;BR /&gt;I still got some errors, but seems the webinars will help me go on. 
&lt;BR /&gt;indeed the route was a desperate try 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAB6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/158321i00588DF41617C922/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAB6.png" alt="0683p000009MAB6.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Have a nice weekend 
&lt;BR /&gt;Carpe diem 
&lt;BR /&gt; Gabriel</description>
      <pubDate>Fri, 16 Dec 2011 20:52:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Job-run-from-camel-route/m-p/2323131#M93010</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-12-16T20:52:22Z</dc:date>
    </item>
  </channel>
</rss>

