<?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 SOAP WS - OnComponentError on tOracleInput in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/SOAP-WS-OnComponentError-on-tOracleInput/m-p/2342944#M110752</link>
    <description>Hi, 
&lt;BR /&gt;I'm using the Talend Open Studio 5.6.1 and i'm trying to manage the error catching in a SOAP web service. 
&lt;BR /&gt;What i itried : 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/319901/onComponentErrorToracleInput.png.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MH8n.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148735iA0B078567C7AFDFC/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MH8n.png" alt="0683p000009MH8n.png" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;Unfortunately, when the tOracleInput is in error, it seems that it never go through the "OnComponentError" link and the WS simply returns a "Talend execution error". 
&lt;BR /&gt; 
&lt;BR /&gt;What i noticed is when i set, in the XML Map, the value of "Lookup Model" to "load once", the error is catched at the start of the WS. Yet, when i set this value to "Reload at each row", i got the "Talent execution error". 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/319901/loadOnceXMLMAP.png.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MH8r.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156151iF5853DF4410E01F5/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MH8r.png" alt="0683p000009MH8r.png" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;What have i done wrong ? Why can't i catch the errors from the tOracleInput ? 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;Thanks for your time</description>
    <pubDate>Sat, 16 Nov 2024 10:47:49 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T10:47:49Z</dc:date>
    <item>
      <title>SOAP WS - OnComponentError on tOracleInput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SOAP-WS-OnComponentError-on-tOracleInput/m-p/2342944#M110752</link>
      <description>Hi, 
&lt;BR /&gt;I'm using the Talend Open Studio 5.6.1 and i'm trying to manage the error catching in a SOAP web service. 
&lt;BR /&gt;What i itried : 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/319901/onComponentErrorToracleInput.png.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MH8n.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148735iA0B078567C7AFDFC/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MH8n.png" alt="0683p000009MH8n.png" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;Unfortunately, when the tOracleInput is in error, it seems that it never go through the "OnComponentError" link and the WS simply returns a "Talend execution error". 
&lt;BR /&gt; 
&lt;BR /&gt;What i noticed is when i set, in the XML Map, the value of "Lookup Model" to "load once", the error is catched at the start of the WS. Yet, when i set this value to "Reload at each row", i got the "Talent execution error". 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/319901/loadOnceXMLMAP.png.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MH8r.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156151iF5853DF4410E01F5/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MH8r.png" alt="0683p000009MH8r.png" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;What have i done wrong ? Why can't i catch the errors from the tOracleInput ? 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;Thanks for your time</description>
      <pubDate>Sat, 16 Nov 2024 10:47:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SOAP-WS-OnComponentError-on-tOracleInput/m-p/2342944#M110752</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: SOAP WS - OnComponentError on tOracleInput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SOAP-WS-OnComponentError-on-tOracleInput/m-p/2342945#M110753</link>
      <description>Hi?&lt;BR /&gt;Is there any error message printed on console?&lt;BR /&gt;Have you tried&amp;nbsp;to link tOracleInput to that other subjob with OnSubjobError to see if you can catch the error(DB connection failed...)?&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Mon, 22 Feb 2016 04:25:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SOAP-WS-OnComponentError-on-tOracleInput/m-p/2342945#M110753</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-22T04:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: SOAP WS - OnComponentError on tOracleInput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SOAP-WS-OnComponentError-on-tOracleInput/m-p/2342946#M110754</link>
      <description>Thanks for your reply. 
&lt;BR /&gt; 
&lt;BR /&gt;I tried to use the "OnSubjobError" but it doesn't work either. 
&lt;BR /&gt; 
&lt;BR /&gt;What i have in the console : 
&lt;BR /&gt; 
&lt;PRE&gt;org.apache.cxf.interceptor.Fault: Talend job execution error: &lt;BR /&gt;	at org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:170)&lt;BR /&gt;	at org.apache.cxf.jaxws.AbstractJAXWSMethodInvoker.createFault(AbstractJAXWSMethodInvoker.java:272)&lt;BR /&gt;	at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:136)&lt;BR /&gt;	at org.apache.cxf.jaxws.AbstractJAXWSMethodInvoker.invoke(AbstractJAXWSMethodInvoker.java:237)&lt;BR /&gt;	at org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:69)&lt;BR /&gt;	at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:75)&lt;BR /&gt;	at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)&lt;BR /&gt;	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)&lt;BR /&gt;	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)&lt;BR /&gt;	at java.util.concurrent.FutureTask.run(Unknown Source)&lt;BR /&gt;	at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)&lt;BR /&gt;	at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:107)&lt;BR /&gt;	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)&lt;BR /&gt;	at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)&lt;BR /&gt;	at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:355)&lt;BR /&gt;	at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:319)&lt;BR /&gt;	at org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:65)&lt;BR /&gt;	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1088)&lt;BR /&gt;	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1024)&lt;BR /&gt;	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)&lt;BR /&gt;	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)&lt;BR /&gt;	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)&lt;BR /&gt;	at org.eclipse.jetty.server.Server.handle(Server.java:370)&lt;BR /&gt;	at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)&lt;BR /&gt;	at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:982)&lt;BR /&gt;	at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1043)&lt;BR /&gt;	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)&lt;BR /&gt;	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)&lt;BR /&gt;	at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)&lt;BR /&gt;	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)&lt;BR /&gt;	at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)&lt;BR /&gt;	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)&lt;BR /&gt;	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)&lt;BR /&gt;	at java.lang.Thread.run(Unknown Source)&lt;BR /&gt;Caused by: java.lang.RuntimeException: Talend job execution error: &lt;BR /&gt;	at esb_electronet.sales_webservice_salesprice_1_2.Sales_Webservice_SalesPrice$ESBProviderCallbackTalendJobWrapper_tESBProviderRequest_1.sendFault(Sales_Webservice_SalesPrice.java:1974)&lt;BR /&gt;	at esb_electronet.sales_webservice_salesprice_1_2.Sales_Webservice_SalesPrice$ESBProviderCallbackTalendJobWrapper_tESBProviderRequest_1.sendFaultByDefault(Sales_Webservice_SalesPrice.java:1983)&lt;BR /&gt;	at esb_electronet.sales_webservice_salesprice_1_2.Sales_Webservice_SalesPrice.tESBProviderRequest_1_LoopProcess(Sales_Webservice_SalesPrice.java:20397)&lt;BR /&gt;	at esb_electronet.sales_webservice_salesprice_1_2.Sales_Webservice_SalesPrice.runJobInTOS(Sales_Webservice_SalesPrice.java:23173)&lt;BR /&gt;	at esb_electronet.sales_webservice_salesprice_1_2.Sales_Webservice_SalesPrice.main(Sales_Webservice_SalesPrice.java:22905)&lt;BR /&gt;Caused by: esb_electronet.sales_webservice_salesprice_1_2.Sales_Webservice_SalesPrice$TalendException&lt;BR /&gt;	at esb_electronet.sales_webservice_salesprice_1_2.Sales_Webservice_SalesPrice.tFixedFlowInput_1Process(Sales_Webservice_SalesPrice.java:9000)&lt;BR /&gt;	at esb_electronet.sales_webservice_salesprice_1_2.Sales_Webservice_SalesPrice.tESBProviderRequest_1_LoopProcess(Sales_Webservice_SalesPrice.java:18460)&lt;BR /&gt;	... 2 more&lt;/PRE&gt;</description>
      <pubDate>Thu, 25 Feb 2016 13:58:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SOAP-WS-OnComponentError-on-tOracleInput/m-p/2342946#M110754</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-25T13:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: SOAP WS - OnComponentError on tOracleInput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SOAP-WS-OnComponentError-on-tOracleInput/m-p/2342947#M110755</link>
      <description>This is not a solution, just a preliminary consideration - for a web service you have to provide any response in a single synchronous flow (so don't "tDie" on exception, do not use onSubjob, ...), the best option I see is using the tESBProviderFault&amp;nbsp; component.&amp;nbsp; &lt;A href="https://help.talend.com/search/all?query=tESBProviderFault" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/search/all?query=tESBProviderFault&lt;/A&gt; &lt;BR /&gt;You have to get the error (strange the - onComponentError is not invoked - don't you get any (even empty) response?&lt;BR /&gt;&lt;BR /&gt;g.</description>
      <pubDate>Thu, 25 Feb 2016 15:17:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SOAP-WS-OnComponentError-on-tOracleInput/m-p/2342947#M110755</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-25T15:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: SOAP WS - OnComponentError on tOracleInput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SOAP-WS-OnComponentError-on-tOracleInput/m-p/2342948#M110756</link>
      <description>You are right gusto2. Actually, my web service is more complicated than that and the picture in my first post is only a simpler version in order to focus on the problem. 
&lt;BR /&gt;In my real web service, i have a tESBProviderFault instead of the tLogRow (which is a mistake here). The goal is to catch any errors and to send a XML fault response. I do have a XML fault response but with the "Talend Execution Job error" and i would like to set a custom response...</description>
      <pubDate>Tue, 01 Mar 2016 13:29:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SOAP-WS-OnComponentError-on-tOracleInput/m-p/2342948#M110756</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-01T13:29:32Z</dc:date>
    </item>
  </channel>
</rss>

