<?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: json response in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/json-response/m-p/2220167#M14684</link>
    <description>image is this -&amp;nbsp;</description>
    <pubDate>Wed, 28 Oct 2015 10:52:00 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-10-28T10:52:00Z</dc:date>
    <item>
      <title>json response</title>
      <link>https://community.qlik.com/t5/Talend-Studio/json-response/m-p/2220153#M14670</link>
      <description>Hi,
&lt;BR /&gt; i have to fetch json response from url using cookie concept.
&lt;BR /&gt;I have tried with using only trestclient step there is no cookie option is available and later on i tried with tfilefetch component to use the cookie concept it is giving 200 as a response but i am not able to get any response from the tfilefetch?
&lt;BR /&gt;1) I haved logged in using tfilefetch component using tfilefetch with cookie concept i,e giving 200 as response code.
&lt;BR /&gt;2) I am trying to get json response from the one more url using tfilefetch component it is giving as 200 response code but in that file only html content is generated instead of response code using existing cookies which i have used it in step 1.
&lt;BR /&gt;Output log from two tfilefetch components is 
&lt;BR /&gt;Status Line: HTTP/1.1 200 OK
&lt;BR /&gt;*** Response Header ***
&lt;BR /&gt;Server: Apache-Coyote/1.1
&lt;BR /&gt;Content-Type: text/html;charset=ISO-8859-1
&lt;BR /&gt;Content-Language: en-US
&lt;BR /&gt;Content-Length: 3072
&lt;BR /&gt;Vary: Accept-Encoding
&lt;BR /&gt;Date: Thu, 09 Jan 2014 13:34:02 GMT
&lt;BR /&gt;Status Line: HTTP/1.1 200 OK
&lt;BR /&gt;*** Response Header ***
&lt;BR /&gt;Server: Apache-Coyote/1.1
&lt;BR /&gt;Content-Type: text/html;charset=ISO-8859-1
&lt;BR /&gt;Content-Language: en-US
&lt;BR /&gt;Content-Length: 3072
&lt;BR /&gt;Vary: Accept-Encoding
&lt;BR /&gt;Date: Thu, 09 Jan 2014 13:34:07 GMT
&lt;BR /&gt;How can we do it ? Is there any work around to do this.. Please give ur suggestions.</description>
      <pubDate>Thu, 09 Jan 2014 12:58:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/json-response/m-p/2220153#M14670</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-09T12:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: json response</title>
      <link>https://community.qlik.com/t5/Talend-Studio/json-response/m-p/2220154#M14671</link>
      <description>Hi 
&lt;BR /&gt;tFileFetch is used to download a file with http or ftp procotol to local machine, this component don't have a schema and it do not returns a response, this component is always used alone, it has no output. If you want to call a rest web service, you should use the tRestClient or tRest component.
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 09 Jan 2014 13:41:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/json-response/m-p/2220154#M14671</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-09T13:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: json response</title>
      <link>https://community.qlik.com/t5/Talend-Studio/json-response/m-p/2220155#M14672</link>
      <description>If i am using trestclient i cant use the cookie concept..&lt;BR /&gt;Basically i have to use cookie concept for the login once that is done i wanted to use that cookie variable to another job &lt;BR /&gt;So how can i use that using trest client or trest ?</description>
      <pubDate>Thu, 09 Jan 2014 15:54:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/json-response/m-p/2220155#M14672</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-09T15:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: json response</title>
      <link>https://community.qlik.com/t5/Talend-Studio/json-response/m-p/2220156#M14673</link>
      <description>There is no 'save or read cookie' option on tRestClient component, so you can't use the rest component to call the web service in this case. I would suggest you to report a feature issue on our bugtracker to inform our developers, they will investigate this issue further.
&lt;BR /&gt;Shong</description>
      <pubDate>Mon, 13 Jan 2014 03:03:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/json-response/m-p/2220156#M14673</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-13T03:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: json response</title>
      <link>https://community.qlik.com/t5/Talend-Studio/json-response/m-p/2220157#M14674</link>
      <description>I need exactly the same functionality and am bummed not to find it here. Let me know if you post a request in the system and I'll vote it up.</description>
      <pubDate>Wed, 22 Jan 2014 23:18:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/json-response/m-p/2220157#M14674</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-22T23:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: json response</title>
      <link>https://community.qlik.com/t5/Talend-Studio/json-response/m-p/2220158#M14675</link>
      <description>I have done it using tRest Component instead of tRestClinet step.</description>
      <pubDate>Thu, 23 Jan 2014 01:10:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/json-response/m-p/2220158#M14675</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-23T01:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: json response</title>
      <link>https://community.qlik.com/t5/Talend-Studio/json-response/m-p/2220159#M14676</link>
      <description>I don't see the "read cookie" option on the tRest nor the tRestClient component.  Could you elaborate on how you got this to work?</description>
      <pubDate>Thu, 23 Jan 2014 02:55:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/json-response/m-p/2220159#M14676</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-23T02:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: json response</title>
      <link>https://community.qlik.com/t5/Talend-Studio/json-response/m-p/2220160#M14677</link>
      <description>What is ur exact requirement can you elaborate it?</description>
      <pubDate>Thu, 23 Jan 2014 03:43:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/json-response/m-p/2220160#M14677</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-23T03:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: json response</title>
      <link>https://community.qlik.com/t5/Talend-Studio/json-response/m-p/2220161#M14678</link>
      <description>Hi, 
&lt;BR /&gt;I need to send users data to intercom by using intercom api. 
&lt;BR /&gt;I designed a job having a flow of tFileInputJSON -&amp;gt;tXMLMap -&amp;gt; tRestClient -&amp;gt; tLogRow. 
&lt;BR /&gt;I got response code 200 ok but users are not sending at intercom. 
&lt;BR /&gt;My output is - 
&lt;BR /&gt;Starting job Intermediate at 09:57 21/10/2015. 
&lt;BR /&gt; connecting to socket on port 3389 
&lt;BR /&gt; connected 
&lt;BR /&gt;: org.apache.cxf.interceptor.LoggingOutInterceptor - Outbound Message 
&lt;BR /&gt;--------------------------- 
&lt;BR /&gt;ID: 1 
&lt;BR /&gt;Address: 
&lt;BR /&gt;Http-Method: POST 
&lt;BR /&gt;Content-Type: application/json 
&lt;BR /&gt;Headers: {Content-Type=, Accept=, Authorization=} 
&lt;BR /&gt;Payload: {"items":{"user_id":"swati1036","email":"w@serenity.io","name":"Serenity Washburne","signed_up_at":1392731325,"last_seen_ip":"1.2.3.6","last_seen_user_agent":"Mozilla\/5.0(Macintosh; Intel Mac OS X 10.9"}} 
&lt;BR /&gt;-------------------------------------- 
&lt;BR /&gt;: org.apache.cxf.interceptor.LoggingInInterceptor - Inbound Message 
&lt;BR /&gt;---------------------------- 
&lt;BR /&gt;ID: 1 
&lt;BR /&gt;Response-Code: 200 
&lt;BR /&gt;Encoding: UTF-8 
&lt;BR /&gt;Content-Type: application/json; charset=utf-8 
&lt;BR /&gt;Headers: {Cache-Control=, connection=, Content-Length=, content-type=, Date=, ETag=, Server=, Status=, Strict-Transport-Security=, Vary=, X-Content-Type-Options=, X-Frame-Options=, X-Intercom-Version=, X-Intercomrade=, X-RateLimit-Limit=, X-RateLimit-Remaining=, X-RateLimit-Reset=, X-Request-Id=, X-Runtime=, X-XSS-Protection=} 
&lt;BR /&gt;Payload: {"app_id":"p4lt44zd","id":"job_f220bbc4_77ea_11e5_9d9a_25b12484386c","created_at":1445428667,"completed_at":null,"closing_at":1445429567,"updated_at":1445428667,"name":"api_bulk_job","state":"running","links":{"error":"","self":""}} 
&lt;BR /&gt;-------------------------------------- 
&lt;BR /&gt;statusCode: 200|body: |string: {"app_id":"p4lt44zd","id":"job_f220bbc4_77ea_11e5_9d9a_25b12484386c","created_at":1445428667,"completed_at":null,"closing_at":1445429567,"updated_at":1445428667,"name":"api_bulk_job","state":"running","links":{"error":"","self":""}} 
&lt;BR /&gt; disconnected 
&lt;BR /&gt;Job Intermediate ended at 09:57 21/10/2015.</description>
      <pubDate>Wed, 21 Oct 2015 14:04:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/json-response/m-p/2220161#M14678</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-21T14:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: json response</title>
      <link>https://community.qlik.com/t5/Talend-Studio/json-response/m-p/2220162#M14679</link>
      <description>Hi,&lt;BR /&gt;I posted my issue at 21 October but still have no reply on it.&lt;BR /&gt;Can anybody help me on this?</description>
      <pubDate>Wed, 28 Oct 2015 06:00:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/json-response/m-p/2220162#M14679</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-28T06:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: json response</title>
      <link>https://community.qlik.com/t5/Talend-Studio/json-response/m-p/2220163#M14680</link>
      <description>&lt;PRE&gt;Payload: {"items":{"user_id":"swati1036","email":"w@serenity.io","name":"Serenity Washburne","signed_up_at":1392731325,"last_seen_ip":"1.2.3.6","last_seen_user_agent":"Mozilla\/5.0(Macintosh; Intel Mac OS X 10.9"}}&lt;/PRE&gt;
&lt;BR /&gt;This is the payload request send from tRestClient, is it the right data what your server expects?</description>
      <pubDate>Wed, 28 Oct 2015 07:49:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/json-response/m-p/2220163#M14680</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-28T07:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: json response</title>
      <link>https://community.qlik.com/t5/Talend-Studio/json-response/m-p/2220164#M14681</link>
      <description>same json data is sending by the chrome Rest Client and it was working fine so i think intercom is accepting this data.</description>
      <pubDate>Wed, 28 Oct 2015 10:26:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/json-response/m-p/2220164#M14681</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-28T10:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: json response</title>
      <link>https://community.qlik.com/t5/Talend-Studio/json-response/m-p/2220165#M14682</link>
      <description>The only difference of chrome Rest client and tRestClient is that - in tXMLmap, i have to fetch all fields in the item tag.</description>
      <pubDate>Wed, 28 Oct 2015 10:42:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/json-response/m-p/2220165#M14682</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-28T10:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: json response</title>
      <link>https://community.qlik.com/t5/Talend-Studio/json-response/m-p/2220166#M14683</link>
      <description>image is this -&amp;nbsp; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCYB.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142265iFDD4C7846EE21841/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCYB.jpg" alt="0683p000009MCYB.jpg" /&gt;&lt;/span&gt;</description>
      <pubDate>Wed, 28 Oct 2015 10:50:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/json-response/m-p/2220166#M14683</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-28T10:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: json response</title>
      <link>https://community.qlik.com/t5/Talend-Studio/json-response/m-p/2220167#M14684</link>
      <description>image is this -&amp;nbsp;</description>
      <pubDate>Wed, 28 Oct 2015 10:52:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/json-response/m-p/2220167#M14684</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-28T10:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: json response</title>
      <link>https://community.qlik.com/t5/Talend-Studio/json-response/m-p/2220168#M14685</link>
      <description>Good day&lt;BR /&gt;If your webapi accept Json, you should use the field : String and not the field : body in your txmlmap.&lt;BR /&gt;If your webapi accept xml then your current solution is perfect.&lt;BR /&gt;Please show me the configuration of the tRestClient&lt;BR /&gt;Best regards,&lt;BR /&gt;Alfonso Borre</description>
      <pubDate>Thu, 29 Oct 2015 10:31:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/json-response/m-p/2220168#M14685</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-29T10:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: json response</title>
      <link>https://community.qlik.com/t5/Talend-Studio/json-response/m-p/2220169#M14686</link>
      <description>Hi, 
&lt;BR /&gt;Thanks for the reply. 
&lt;BR /&gt;But, i am using tRest for sending users and have success in fixed json data. 
&lt;BR /&gt;I have to send users dynamically, then i am using this flow -&amp;nbsp; 
&lt;BR /&gt;tMSSqlOutput (get one table) 
&lt;BR /&gt;-&amp;gt;tJavaRow set context (context.c_user_id = input_row.user_id; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;context.c_name = input_row.name; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;context.c_email = input_row.Email 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;-&amp;gt;tRest&amp;nbsp; 
&lt;BR /&gt;(Headers - "Accept"-&amp;nbsp;"application/json" 
&lt;BR /&gt;"Content-Type"-"application/json" 
&lt;BR /&gt;"Authorization"-"Basic cDRsdDQ0emQ6ZTQ1ZjczZDYwOWRiMGUxNzcwZjI4MDgxZDcxMGM5ODBkZDg4MDIyMA==" 
&lt;BR /&gt;HTTP Body - 
&lt;BR /&gt;"{ 
&lt;BR /&gt;&amp;nbsp; \"user_id\":+context.c_user_id+, 
&lt;BR /&gt;&amp;nbsp; \"email\": +context.c_email+, 
&lt;BR /&gt;&amp;nbsp; \"name\": +context.c_name+ 
&lt;BR /&gt;}" 
&lt;BR /&gt;) 
&lt;BR /&gt;Intercom is not accepting single quotes so here i am using this \" in place of single quote. So not able to pass context value this code is always send label as it is. 
&lt;BR /&gt;Can you please help me. 
&lt;BR /&gt;Thanks in advance.</description>
      <pubDate>Thu, 29 Oct 2015 12:32:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/json-response/m-p/2220169#M14686</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-29T12:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: json response</title>
      <link>https://community.qlik.com/t5/Talend-Studio/json-response/m-p/2220170#M14687</link>
      <description>And can you please elaborate this line "&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;If your webapi accept Json, you should use the field : String and not the field : body in your txmlmap&lt;/FONT&gt;&lt;/FONT&gt;"?&lt;BR /&gt;or do you have example on it because intercom is accepting&amp;amp; content-Type is json data.&lt;BR /&gt;I can also work to do this.&lt;BR /&gt;Thanks.</description>
      <pubDate>Thu, 29 Oct 2015 12:36:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/json-response/m-p/2220170#M14687</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-29T12:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: json response</title>
      <link>https://community.qlik.com/t5/Talend-Studio/json-response/m-p/2220171#M14688</link>
      <description>Hi&amp;nbsp;ingenioso,&lt;BR /&gt;I need a example for txmlmap for json data because now i am sending my users data in body field and string field is blank. body tag is always returning xml data but intercom needs json data so how can i achieve this?&lt;BR /&gt;Please help me on this.&lt;BR /&gt;Thanks.&amp;nbsp;</description>
      <pubDate>Fri, 30 Oct 2015 05:55:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/json-response/m-p/2220171#M14688</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-30T05:55:57Z</dc:date>
    </item>
  </channel>
</rss>

