<?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: Problem: Unexpected EOF in prolog in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Problem-Unexpected-EOF-in-prolog/m-p/2280386#M55248</link>
    <description>I resolved this issue by recreating job with use of tREST instead of tRESTClient. But the reason why I had no success with tRESTClient is still not clear for me.</description>
    <pubDate>Fri, 21 Mar 2014 10:06:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-03-21T10:06:59Z</dc:date>
    <item>
      <title>Problem: Unexpected EOF in prolog</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-Unexpected-EOF-in-prolog/m-p/2280385#M55247</link>
      <description>Hi all! 
&lt;BR /&gt;I'm new to Talend, so my question may be too newbieish, but I read trough all documentation I found, including DGs, AGs, this forum and Google, but still can't solve my problem. 
&lt;BR /&gt;I'm trying to create service (svc1) which will call another service (svc2) upon request and return response. I created it in Open Studio as you may see at screenshot. It seems to be almost working 
&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; The only problem I have so far is I got this error in return: 
&lt;BR /&gt;Server|Could not generate the XML stream caused by: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog 
&lt;BR /&gt; at : .|||| 
&lt;BR /&gt; The same exception is found in log: 
&lt;BR /&gt; 15:15:23,214 | WARN | qtp1962516546-65 | ache.cxf.common.logging.LogUtils 443 | 121 - org.apache.cxf.cxf-api - 2.7.5 | Interceptor for { 
&lt;A href="http://core.company.local/}ChatService#{http://core.company.local/}GetChat" target="_blank" rel="nofollow noopener noreferrer"&gt;http://core.company.local/}ChatService#{http://core.company.local/}GetChat&lt;/A&gt; has thrown exception, unwinding now 
&lt;BR /&gt;org.apache.cxf.interceptor.Fault: Could not generate the XML stream caused by: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog 
&lt;BR /&gt; at : . 
&lt;BR /&gt; at org.apache.cxf.databinding.source.XMLStreamDataWriter.write(XMLStreamDataWriter.java:73) 
&lt;BR /&gt; at org.apache.cxf.databinding.source.XMLStreamDataWriter.write(XMLStreamDataWriter.java:50) 
&lt;BR /&gt; at org.apache.cxf.databinding.source.XMLStreamDataWriter.write(XMLStreamDataWriter.java:46) 
&lt;BR /&gt; at org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor.writeParts(AbstractOutDatabindingInterceptor.java:123) 
&lt;BR /&gt; 
&lt;BR /&gt;Caused by: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog 
&lt;BR /&gt; at : 
&lt;BR /&gt; at com.ctc.wstx.sr.StreamScanner.throwUnexpectedEOF(StreamScanner.java:677) 
&lt;BR /&gt; at com.ctc.wstx.sr.BasicStreamReader.handleEOF(BasicStreamReader.java:2139) 
&lt;BR /&gt; at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2045) 
&lt;BR /&gt; at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1134) 
&lt;BR /&gt; at org.apache.cxf.staxutils.StaxUtils.copy(StaxUtils.java:693) 
&lt;BR /&gt; at org.apache.cxf.staxutils.StaxUtils.copy(StaxUtils.java:652) 
&lt;BR /&gt; at org.apache.cxf.staxutils.StaxUtils.copy(StaxUtils.java:606) 
&lt;BR /&gt; at org.apache.cxf.databinding.source.XMLStreamDataWriter.write(XMLStreamDataWriter.java:70) 
&lt;BR /&gt; ... 48 more 
&lt;BR /&gt;I used Wireshark to sniff traffic and I see how svc1 get request, send request to svc2 and get response. So, problem happened somewhere after receiving response from svc2. Next step should be just send data from svc2 response in response of svc1. However, for some reason exception is thrown. 
&lt;BR /&gt;I have no idea why this happened and where should I look for problem. 
&lt;BR /&gt;Can anybody help? 
&lt;BR /&gt;Thanks in advance! 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MD4d.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130056i36DEFCFD0F364180/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MD4d.png" alt="0683p000009MD4d.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Sat, 16 Nov 2024 11:43:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-Unexpected-EOF-in-prolog/m-p/2280385#M55247</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T11:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem: Unexpected EOF in prolog</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-Unexpected-EOF-in-prolog/m-p/2280386#M55248</link>
      <description>I resolved this issue by recreating job with use of tREST instead of tRESTClient. But the reason why I had no success with tRESTClient is still not clear for me.</description>
      <pubDate>Fri, 21 Mar 2014 10:06:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-Unexpected-EOF-in-prolog/m-p/2280386#M55248</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-21T10:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem: Unexpected EOF in prolog</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-Unexpected-EOF-in-prolog/m-p/2280387#M55249</link>
      <description>I resolved that issue by renaming my document to "payload". It seems that tESBProviderResponse depends on the name payload. If you choose to name your document more descriptively, you're gonna have a hard time.
&lt;BR /&gt;Talend sucks, let's face it. I could code all the Talend stuff 10x faster in Java and just drop it into a container.</description>
      <pubDate>Wed, 12 Aug 2015 09:43:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-Unexpected-EOF-in-prolog/m-p/2280387#M55249</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-12T09:43:27Z</dc:date>
    </item>
  </channel>
</rss>

