<?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: Invoking WS from TESB - SpringBusFactory in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Invoking-WS-from-TESB-SpringBusFactory/m-p/2296015#M68722</link>
    <description>Just a note - when I look inside the archive, I see cxf-2.2.4.jar bunded along the job, what is different than CXF in tne ESB (2.4.2)m can it cause the problem?</description>
    <pubDate>Wed, 19 Oct 2011 13:16:09 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-10-19T13:16:09Z</dc:date>
    <item>
      <title>Invoking WS from TESB - SpringBusFactory</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Invoking-WS-from-TESB-SpringBusFactory/m-p/2296014#M68721</link>
      <description>Dear sirs,
&lt;BR /&gt;we have a simple job to to call a Web Service, from the Talend Studio 4.2 it works nicelly.
&lt;BR /&gt;When published to the TESB 4.2 and starting the job, we receive a following exception. I've found a link discussing possible problem, but no resolution so far. 
&lt;BR /&gt;
&lt;A href="http://stackoverflow.com/questions/7274510/error-java-lang-classcastexception-class-org-apache-cxf-bus-spring-springbusfa" target="_blank" rel="nofollow noopener noreferrer"&gt;http://stackoverflow.com/questions/7274510/error-java-lang-classcastexception-class-org-apache-cxf-bus-spring-springbusfa&lt;/A&gt;
&lt;BR /&gt;Can anybody help me with it please? We've event reinstalled the t-esb and started cleanm the only features enabled out of default is the camel-jetty for a camel route (bridgging endpoints).
&lt;BR /&gt;The same behaviour is when running on the t-esb-5m
&lt;BR /&gt;Kind regards
&lt;BR /&gt; Gabriel
&lt;BR /&gt;
&lt;PRE&gt;karaf@tesb&amp;gt; Exception in component tWebService_1&lt;BR /&gt;java.lang.RuntimeException: java.lang.ClassCastException: class org.apache.cxf.bus.spring.SpringBusFactory&lt;BR /&gt;        at org.apache.cxf.BusFactory.newInstance(BusFactory.java:169)&lt;BR /&gt;        at org.apache.cxf.BusFactory.newInstance(BusFactory.java:140)&lt;BR /&gt;        at org.apache.cxf.BusFactory.getDefaultBus(BusFactory.java:69)&lt;BR /&gt;        at org.apache.cxf.BusFactory.getThreadDefaultBus(BusFactory.java:106)&lt;BR /&gt;        at org.apache.cxf.BusFactory.getThreadDefaultBus(BusFactory.java:97)&lt;BR /&gt;        at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.newInstance(Dyna&lt;BR /&gt;micClientFactory.java:132)&lt;BR /&gt;        at org.talend.webservice.helper.ServiceInvokerHelper.&amp;lt;init&amp;gt;(ServiceInvok&lt;BR /&gt;erHelper.java:75)&lt;BR /&gt;        at org.talend.webservice.helper.ServiceInvokerHelper.&amp;lt;init&amp;gt;(ServiceInvok&lt;BR /&gt;erHelper.java:107)&lt;BR /&gt;        at org.talend.webservice.helper.ServiceInvokerHelper.&amp;lt;init&amp;gt;(ServiceInvok&lt;BR /&gt;erHelper.java:102)&lt;BR /&gt;        at office_pilot.invokevkbo2_0_1.InvokeVKBO2.tFixedFlowInput_1Process(Inv&lt;BR /&gt;okeVKBO2.java:1354)&lt;BR /&gt;        at office_pilot.invokevkbo2_0_1.InvokeVKBO2.runJobInTOS(InvokeVKBO2.java&lt;BR /&gt;:2848)&lt;BR /&gt;        at org.talend.esb.job.controller.internal.TalendJobLauncher$1.run(Talend&lt;BR /&gt;JobLauncher.java:116)&lt;BR /&gt;        at java.lang.Thread.run(Thread.java:619)&lt;BR /&gt;Caused by: java.lang.ClassCastException: class org.apache.cxf.bus.spring.SpringB&lt;BR /&gt;usFactory&lt;BR /&gt;        at java.lang.Class.asSubclass(Class.java:3018)&lt;BR /&gt;        at org.apache.cxf.BusFactory.newInstance(BusFactory.java:164)&lt;BR /&gt;        ... 12 more&lt;BR /&gt;2011-10-19 10:23:20|O8Zrpx|O8Zrpx|O8Zrpx|OFFICE_PILOT|InvokeVKBO2|Default|6|Java&lt;BR /&gt; Exception|tWebService_1|java.lang.RuntimeException:java.lang.ClassCastException&lt;BR /&gt;: class org.apache.cxf.bus.spring.SpringBusFactory|1&lt;/PRE&gt;</description>
      <pubDate>Sat, 16 Nov 2024 12:36:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Invoking-WS-from-TESB-SpringBusFactory/m-p/2296014#M68721</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: Invoking WS from TESB - SpringBusFactory</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Invoking-WS-from-TESB-SpringBusFactory/m-p/2296015#M68722</link>
      <description>Just a note - when I look inside the archive, I see cxf-2.2.4.jar bunded along the job, what is different than CXF in tne ESB (2.4.2)m can it cause the problem?</description>
      <pubDate>Wed, 19 Oct 2011 13:16:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Invoking-WS-from-TESB-SpringBusFactory/m-p/2296015#M68722</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-19T13:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: Invoking WS from TESB - SpringBusFactory</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Invoking-WS-from-TESB-SpringBusFactory/m-p/2296016#M68723</link>
      <description>the some more detailed stack trace 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt; I hope it will be only something stupind in configuration 
&lt;BR /&gt; 
&lt;PRE&gt;java.lang.ClassCastException: class org.apache.cxf.bus.spring.SpringBusFactory&lt;BR /&gt;	at java.lang.Class.asSubclass(Class.java:3018)&lt;BR /&gt;	at org.apache.cxf.BusFactory.getBusFactoryClass(BusFactory.java:303)&lt;BR /&gt;	at org.apache.cxf.BusFactory.newInstance(BusFactory.java:230)&lt;BR /&gt;	at org.apache.cxf.BusFactory.newInstance(BusFactory.java:217)&lt;BR /&gt;	at org.apache.cxf.BusFactory.getDefaultBus(BusFactory.java:98)&lt;BR /&gt;	at org.apache.cxf.BusFactory.createThreadBus(BusFactory.java:164)&lt;BR /&gt;	at org.apache.cxf.BusFactory.getThreadDefaultBus(BusFactory.java:154)&lt;BR /&gt;	at org.apache.cxf.BusFactory.getThreadDefaultBus(BusFactory.java:139)&lt;BR /&gt;	at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.newInstance(DynamicClientFactory.java:140)&lt;BR /&gt;	at org.talend.webservice.helper.ServiceInvokerHelper.&amp;lt;init&amp;gt;(ServiceInvokerHelper.java:75)&lt;BR /&gt;	at org.talend.webservice.helper.ServiceInvokerHelper.&amp;lt;init&amp;gt;(ServiceInvokerHelper.java:107)&lt;BR /&gt;	at org.talend.webservice.helper.ServiceInvokerHelper.&amp;lt;init&amp;gt;(ServiceInvokerHelper.java:102)&lt;BR /&gt;	at org.talend.webservice.helper.ServiceInvokerHelper.&amp;lt;init&amp;gt;(ServiceInvokerHelper.java:98)&lt;BR /&gt;	at pilot2.getweatherjob_0_1.GetWeatherJob.tFixedFlowInput_1Process(GetWeatherJob.java:665)&lt;BR /&gt;	at pilot2.getweatherjob_0_1.GetWeatherJob.runJobInTOS(GetWeatherJob.java:1034)&lt;BR /&gt;	at org.talend.esb.job.controller.internal.TalendJobLauncher$1.run(TalendJobLauncher.java:116)&lt;BR /&gt;	at java.lang.Thread.run(Thread.java:619)&lt;BR /&gt;15:16:32,296 | ERROR | Thread-63        | ache.cxf.common.logging.LogUtils  371 |  -  -  | Failed to instantiate bus factory.&lt;BR /&gt;java.lang.ClassCastException: class org.apache.cxf.bus.spring.SpringBusFactory&lt;BR /&gt;	at java.lang.Class.asSubclass(Class.java:3018)&lt;BR /&gt;	at org.apache.cxf.BusFactory.newInstance(BusFactory.java:241)&lt;BR /&gt;	at org.apache.cxf.BusFactory.newInstance(BusFactory.java:217)&lt;BR /&gt;	at org.apache.cxf.BusFactory.getDefaultBus(BusFactory.java:98)&lt;BR /&gt;	at org.apache.cxf.BusFactory.createThreadBus(BusFactory.java:164)&lt;BR /&gt;	at org.apache.cxf.BusFactory.getThreadDefaultBus(BusFactory.java:154)&lt;BR /&gt;	at org.apache.cxf.BusFactory.getThreadDefaultBus(BusFactory.java:139)&lt;BR /&gt;	at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.newInstance(DynamicClientFactory.java:140)&lt;BR /&gt;	at org.talend.webservice.helper.ServiceInvokerHelper.&amp;lt;init&amp;gt;(ServiceInvokerHelper.java:75)&lt;BR /&gt;	at org.talend.webservice.helper.ServiceInvokerHelper.&amp;lt;init&amp;gt;(ServiceInvokerHelper.java:107)&lt;BR /&gt;	at org.talend.webservice.helper.ServiceInvokerHelper.&amp;lt;init&amp;gt;(ServiceInvokerHelper.java:102)&lt;BR /&gt;	at org.talend.webservice.helper.ServiceInvokerHelper.&amp;lt;init&amp;gt;(ServiceInvokerHelper.java:98)&lt;BR /&gt;	at pilot2.getweatherjob_0_1.GetWeatherJob.tFixedFlowInput_1Process(GetWeatherJob.java:665)&lt;BR /&gt;	at pilot2.getweatherjob_0_1.GetWeatherJob.runJobInTOS(GetWeatherJob.java:1034)&lt;BR /&gt;	at org.talend.esb.job.controller.internal.TalendJobLauncher$1.run(TalendJobLauncher.java:116)&lt;BR /&gt;	at java.lang.Thread.run(Thread.java:619)&lt;BR /&gt;15:16:32,296 | INFO  | Thread-63        | ler.internal.TalendJobLauncher$1  117 |  -  -  | Talend Job finished with code 1&lt;/PRE&gt;</description>
      <pubDate>Wed, 19 Oct 2011 14:22:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Invoking-WS-from-TESB-SpringBusFactory/m-p/2296016#M68723</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-19T14:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: Invoking WS from TESB - SpringBusFactory</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Invoking-WS-from-TESB-SpringBusFactory/m-p/2296017#M68724</link>
      <description>Hi,&lt;BR /&gt;Sorry I might be missing something, but is there a reason why you are not using tESBConsumer?&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 19 Oct 2011 16:13:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Invoking-WS-from-TESB-SpringBusFactory/m-p/2296017#M68724</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-19T16:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: Invoking WS from TESB - SpringBusFactory</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Invoking-WS-from-TESB-SpringBusFactory/m-p/2296018#M68725</link>
      <description>Hello cdynes, 
&lt;BR /&gt;the called web service is an external service outside ESB. Then as I understood from other forum postsm the tWebService artefact should be more useful. Or am I wrong? 
&lt;BR /&gt;Gabriel</description>
      <pubDate>Wed, 19 Oct 2011 16:30:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Invoking-WS-from-TESB-SpringBusFactory/m-p/2296018#M68725</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-19T16:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: Invoking WS from TESB - SpringBusFactory</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Invoking-WS-from-TESB-SpringBusFactory/m-p/2296019#M68726</link>
      <description>Maybe I should think first and write later - I may still call the WS by tWebServiceInput / Advanced
&lt;BR /&gt;Then the calling job expose as an ESB web service and all other calls can do it bt the tESBConsumer. Just I wanted to ommit the coding 
&lt;BR /&gt;with tWebServiceInput (I don't know how to return output there). So if the coding can be ommited, it would be perfect.
&lt;BR /&gt;Carpe diem
&lt;BR /&gt; Gabriel</description>
      <pubDate>Wed, 19 Oct 2011 16:43:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Invoking-WS-from-TESB-SpringBusFactory/m-p/2296019#M68726</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-19T16:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: Invoking WS from TESB - SpringBusFactory</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Invoking-WS-from-TESB-SpringBusFactory/m-p/2296020#M68727</link>
      <description>Hi&lt;BR /&gt;Definitely recommend the new tESBConsumer components and not the tWebService component. The tESB* components are based on CXF and are the recommended approach.&lt;BR /&gt;&lt;BR /&gt;Cheers</description>
      <pubDate>Thu, 20 Oct 2011 13:28:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Invoking-WS-from-TESB-SpringBusFactory/m-p/2296020#M68727</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-20T13:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Invoking WS from TESB - SpringBusFactory</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Invoking-WS-from-TESB-SpringBusFactory/m-p/2296021#M68728</link>
      <description>Hello, 
&lt;BR /&gt;Just an additional question - so I may configure the web service client inserting a cxf.xml configuration into the exported JAR? 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA5A.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143082iB236712184B767DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA5A.png" alt="0683p000009MA5A.png" /&gt;&lt;/span&gt; where to put it in the TOS? 
&lt;BR /&gt;But ok, you've persuaded me, I'll try it out. btw - the external service has a deep and complex message structure, so I need handle data types more with force than care. 
&lt;BR /&gt;Thank's for the tip 
&lt;BR /&gt;Gabriel</description>
      <pubDate>Thu, 20 Oct 2011 14:55:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Invoking-WS-from-TESB-SpringBusFactory/m-p/2296021#M68728</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-10-20T14:55:06Z</dc:date>
    </item>
  </channel>
</rss>

