<?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: XQuery Endpoint and Saxon problem in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/XQuery-Endpoint-and-Saxon-problem/m-p/2295767#M68500</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;What does your XML file look like? Did you set the Camel Component Dependencies on the Advanced Setting tab to include saxon? It is camel-saxon jar per the dependencies for the component.&lt;/P&gt;
&lt;P&gt;Does this issue repro on studio or runtime?&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
    <pubDate>Wed, 26 Jun 2019 10:59:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-06-26T10:59:33Z</dc:date>
    <item>
      <title>XQuery Endpoint and Saxon problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XQuery-Endpoint-and-Saxon-problem/m-p/2295766#M68499</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Sorry if it's in the wrong location, I'm a beginner with Talend.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I tried to do the situation told in the following website &lt;A href="https://help.talend.com/reader/UYgSnAddpoFjxiV3uo9geA/ou1jwKZ_rsIwLI8ZuLSkJg" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;https://help.talend.com/reader/UYgSnAddpoFjxiV3uo9geA/ou1jwKZ_rsIwLI8ZuLSkJg&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The problem is, anytime I start the route, I have the following error :&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;[ERROR]: org.apache.camel.processor.DefaultErrorHandler - Failed delivery for (MessageId: ID-GFI520149-1561042532347-0-2 on ExchangeId: ID-GFI520149-1561042532347-0-1). Exhausted after delivery attempt: 1 caught: org.apache.camel.CamelExecutionException: Exception occurred during execution on the exchange: Exchange[ID-GFI520149-1561042532347-0-1]

Message History
---------------------------------------------------------------------------------------------------------------------------------------
RouteId              ProcessorId          Processor                                                                        Elapsed (ms)
[Utiliser_Endpoint_] [Utiliser_Endpoint_] [file://C:/Users/frus75498/Desktop/TOS_ESB-20181026_1147-V7.1.1/Studio/workspac] [       813]
[Utiliser_Endpoint_] [Utiliser_Endpoint_] [xquery:SampleXquery                                                           ] [       797]

Stacktrace
---------------------------------------------------------------------------------------------------------------------------------------
org.apache.camel.CamelExecutionException: Exception occurred during execution on the exchange: Exchange[ID-GFI520149-1561042532347-0-1]
	at org.apache.camel.util.ObjectHelper.wrapCamelExecutionException(ObjectHelper.java:1846)
	at org.apache.camel.impl.DefaultExchange.setException(DefaultExchange.java:385)
	at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:64)
	at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:148)
	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:110)
	at projet_pivot_talend_esb.utiliser_endpoint_xquery_0_1.Utiliser_Endpoint_XQuery$2$1$1.process(Utiliser_Endpoint_XQuery.java:203)
	at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:110)
	at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548)
	at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201)
	at org.apache.camel.processor.Pipeline.process(Pipeline.java:138)
	at org.apache.camel.processor.Pipeline.process(Pipeline.java:101)
	at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201)
	at org.apache.camel.component.file.GenericFileConsumer.processExchange(GenericFileConsumer.java:452)
	at org.apache.camel.component.file.GenericFileConsumer.processBatch(GenericFileConsumer.java:219)
	at org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:183)
	at org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:174)
	at org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:101)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoSuchMethodError: net.sf.saxon.query.DynamicQueryContext.setParameter(Lnet/sf/saxon/om/StructuredQName;Lnet/sf/saxon/om/Sequence;)V
	at org.apache.camel.component.xquery.XQueryBuilder.addParameters(XQueryBuilder.java:660)
	at org.apache.camel.component.xquery.XQueryBuilder.addParameters(XQueryBuilder.java:652)
	at org.apache.camel.component.xquery.XQueryBuilder.configureQuery(XQueryBuilder.java:628)
	at org.apache.camel.component.xquery.XQueryBuilder.createDynamicContext(XQueryBuilder.java:552)
	at org.apache.camel.component.xquery.XQueryBuilder.evaluateAsDOM(XQueryBuilder.java:186)
	at org.apache.camel.component.xquery.XQueryBuilder.evaluate(XQueryBuilder.java:144)
	at org.apache.camel.component.xquery.XQueryBuilder.process(XQueryBuilder.java:111)
	at org.apache.camel.impl.ProcessorEndpoint.onExchange(ProcessorEndpoint.java:103)
	at org.apache.camel.impl.ProcessorEndpoint$1.process(ProcessorEndpoint.java:71)
	at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)
	... 21 more&lt;/PRE&gt; 
&lt;P&gt;I really don't know what to do, I'm struggling with this since yesterday...&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Also I'm an intern (no one in my team knows hos to use Talend, don't ask why please ^^') so please don't hesitate to explain a lot of things about the resolution of this !&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks a lot,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Mylnethys&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:31:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XQuery-Endpoint-and-Saxon-problem/m-p/2295766#M68499</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T05:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: XQuery Endpoint and Saxon problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XQuery-Endpoint-and-Saxon-problem/m-p/2295767#M68500</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;What does your XML file look like? Did you set the Camel Component Dependencies on the Advanced Setting tab to include saxon? It is camel-saxon jar per the dependencies for the component.&lt;/P&gt;
&lt;P&gt;Does this issue repro on studio or runtime?&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 10:59:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XQuery-Endpoint-and-Saxon-problem/m-p/2295767#M68500</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-26T10:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: XQuery Endpoint and Saxon problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XQuery-Endpoint-and-Saxon-problem/m-p/2295768#M68501</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;I think I find the cause of the bug.&lt;BR /&gt;When including the Saxon dependency via Advanced Tab, the dependency added to the pom is Saxon-HE-9.5.1-5.&lt;BR /&gt;But this Saxon version is incompatible with camel-saxon-2.21.2.&lt;BR /&gt;For this to work we must have at least the Saxon-HE-9.8.0-8 version.&lt;BR /&gt;I do not know if it is possible to&amp;nbsp;adjust the configuration so that it takes the right version of the jar&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="maven_dependancies-pom.png" style="width: 620px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M5lK.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142810i6A65274C0CDE32AB/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M5lK.png" alt="0683p000009M5lK.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 12:40:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XQuery-Endpoint-and-Saxon-problem/m-p/2295768#M68501</guid>
      <dc:creator>aitsakel</dc:creator>
      <dc:date>2019-06-27T12:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: XQuery Endpoint and Saxon problem</title>
      <link>https://community.qlik.com/t5/Talend-Studio/XQuery-Endpoint-and-Saxon-problem/m-p/2295769#M68502</link>
      <description>&lt;P&gt;I forgot to mention that I encountered this problem in version 7.1.1 of Talend ESB&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 12:43:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/XQuery-Endpoint-and-Saxon-problem/m-p/2295769#M68502</guid>
      <dc:creator>aitsakel</dc:creator>
      <dc:date>2019-06-27T12:43:32Z</dc:date>
    </item>
  </channel>
</rss>

