<?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: How do you keep input values provided to tSoap in the next component? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-do-you-keep-input-values-provided-to-tSoap-in-the-next/m-p/2274140#M50901</link>
    <description>Thanks - have attached 3 shots
&lt;BR /&gt;1 - the Job (its more complex than how i've described as i've only described a subset) - the tSoap circled shows the component where I need the values going in to also come back out
&lt;BR /&gt;2 - the tMap that is underneath tSoap and provides tSoap with its XML to use (and shows how the XML is generated using one of the fields coming into the tMap)
&lt;BR /&gt;3 - the tSoap component and its schema, showing how the inputs that are needed in the final CSV (along with the tSoap Body) aren't available</description>
    <pubDate>Fri, 06 Feb 2015 09:31:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-02-06T09:31:36Z</dc:date>
    <item>
      <title>How do you keep input values provided to tSoap in the next component?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-you-keep-input-values-provided-to-tSoap-in-the-next/m-p/2274138#M50899</link>
      <description>&lt;FONT color="#222222"&gt;&lt;FONT size="2"&gt;&lt;FONT face="'Helvetica Neue', Helvetica, Arial, sans-serif"&gt;I have a Talend Job that currently does the following:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT color="#222222"&gt;&lt;FONT size="2"&gt;&lt;FONT face="'Helvetica Neue', Helvetica, Arial, sans-serif"&gt;&lt;B&gt;Input CSV&lt;/B&gt;&amp;nbsp;--Main--&amp;gt;&amp;nbsp;&lt;B&gt;tMap&lt;/B&gt;&amp;nbsp;--Output--&amp;gt;&amp;nbsp;&lt;B&gt;tSoap&lt;/B&gt;&amp;nbsp;--Main--&amp;gt;&amp;nbsp;&lt;B&gt;Output CSV&lt;/B&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT color="#222222"&gt;&lt;FONT size="2"&gt;&lt;FONT face="'Helvetica Neue', Helvetica, Arial, sans-serif"&gt;The input CSV has&amp;nbsp;&lt;B&gt;ID&lt;/B&gt;&amp;nbsp;and&amp;nbsp;&lt;B&gt;TYPE&lt;/B&gt;&amp;nbsp;as input columns.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT color="#222222"&gt;&lt;FONT size="2"&gt;&lt;FONT face="'Helvetica Neue', Helvetica, Arial, sans-serif"&gt;The Map creates a Soap XML (String) message using the&amp;nbsp;&lt;B&gt;ID&lt;/B&gt;&amp;nbsp;from the CSV and passes that String to the tSoap component.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT color="#222222"&gt;&lt;FONT size="2"&gt;&lt;FONT face="'Helvetica Neue', Helvetica, Arial, sans-serif"&gt;The tSoap component fires the web request, which sends the response to the next component. That data is then written to CSV.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT color="#222222"&gt;&lt;FONT size="2"&gt;&lt;FONT face="'Helvetica Neue', Helvetica, Arial, sans-serif"&gt;The problem is that&amp;nbsp;&lt;B&gt;TYPE&lt;/B&gt;&amp;nbsp;from the input CSV is not passed through to amalgamate with the SOAP response data. Only the response data seems accessible.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT color="#222222"&gt;&lt;FONT size="2"&gt;&lt;FONT face="'Helvetica Neue', Helvetica, Arial, sans-serif"&gt;I've had a look at tBufferInput / tBufferOutput and tFlowToIterate but they seem to work in scenarios where the tSoap component does not depend on an input from the main flow.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT color="#222222"&gt;&lt;FONT size="2"&gt;&lt;FONT face="'Helvetica Neue', Helvetica, Arial, sans-serif"&gt;Does anyone know which components can be used to achieve the amalgamation?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT color="#222222"&gt;&lt;FONT size="2"&gt;&lt;FONT face="'Helvetica Neue', Helvetica, Arial, sans-serif"&gt;Thank you&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Thu, 05 Feb 2015 16:24:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-you-keep-input-values-provided-to-tSoap-in-the-next/m-p/2274138#M50899</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-05T16:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do you keep input values provided to tSoap in the next component?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-you-keep-input-values-provided-to-tSoap-in-the-next/m-p/2274139#M50900</link>
      <description>Hi,&lt;BR /&gt;Have you tried Context value or global variable in your job? Could you please upload your job setting screenshot?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Fri, 06 Feb 2015 08:16:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-you-keep-input-values-provided-to-tSoap-in-the-next/m-p/2274139#M50900</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-06T08:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: How do you keep input values provided to tSoap in the next component?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-you-keep-input-values-provided-to-tSoap-in-the-next/m-p/2274140#M50901</link>
      <description>Thanks - have attached 3 shots
&lt;BR /&gt;1 - the Job (its more complex than how i've described as i've only described a subset) - the tSoap circled shows the component where I need the values going in to also come back out
&lt;BR /&gt;2 - the tMap that is underneath tSoap and provides tSoap with its XML to use (and shows how the XML is generated using one of the fields coming into the tMap)
&lt;BR /&gt;3 - the tSoap component and its schema, showing how the inputs that are needed in the final CSV (along with the tSoap Body) aren't available</description>
      <pubDate>Fri, 06 Feb 2015 09:31:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-you-keep-input-values-provided-to-tSoap-in-the-next/m-p/2274140#M50901</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-06T09:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: How do you keep input values provided to tSoap in the next component?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-you-keep-input-values-provided-to-tSoap-in-the-next/m-p/2274141#M50902</link>
      <description>Screenshot zips&lt;BR /&gt;TalendHelp3.zip.zip</description>
      <pubDate>Fri, 06 Feb 2015 10:35:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-you-keep-input-values-provided-to-tSoap-in-the-next/m-p/2274141#M50902</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-06T10:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do you keep input values provided to tSoap in the next component?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-you-keep-input-values-provided-to-tSoap-in-the-next/m-p/2274142#M50903</link>
      <description>I had exactly the same requirement in the job I have been working on recently.
&lt;BR /&gt;I resolved it as suggested by Sabrina; before passing my data to the tSoap, I used a tSetGlobalVar to record the information that I wanted to preserve until after the tSoap.&amp;nbsp; I then used a tMap to bring that data back into the flow.
&lt;BR /&gt;It's not ideal; it would be nice if tSoap had some pass-through capabilities so that unused values in the "input" schema could be included in the "output" schema.</description>
      <pubDate>Fri, 06 Feb 2015 15:31:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-you-keep-input-values-provided-to-tSoap-in-the-next/m-p/2274142#M50903</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-06T15:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: How do you keep input values provided to tSoap in the next component?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-you-keep-input-values-provided-to-tSoap-in-the-next/m-p/2274143#M50904</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;I had exactly the same requirement in the job I have been working on recently.&lt;BR /&gt;I resolved it as suggested by Sabrina; before passing my data to the tSoap, I used a tSetGlobalVar to record the information that I wanted to preserve until after the tSoap.&amp;nbsp; I then used a tMap to bring that data back into the flow.&lt;BR /&gt;It's not ideal; it would be nice if tSoap had some pass-through capabilities so that unused values in the "input" schema could be included in the "output" schema.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Thanks Rocketeer that has worked. 
&lt;BR /&gt;For future users, the Job changed to 
&lt;BR /&gt;tMap --&amp;gt; tSetGlobalVar --&amp;gt; tSoap --&amp;gt; tMap 
&lt;BR /&gt;On the final tMap, to access the variable for the current data row, I used in an output column: 
&lt;BR /&gt;(String)globalMap.get("KEY_AS_SET_IN_tSetGlobalVar"); 
&lt;BR /&gt;Thanks again 
&lt;BR /&gt;Tom</description>
      <pubDate>Fri, 06 Feb 2015 16:16:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-you-keep-input-values-provided-to-tSoap-in-the-next/m-p/2274143#M50904</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-06T16:16:06Z</dc:date>
    </item>
  </channel>
</rss>

