<?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 to get rid of the HTTP 302 &amp;quot;redirect&amp;quot; code in cHTTP ? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-rid-of-the-HTTP-302-quot-redirect-quot-code-in-cHTTP/m-p/2370745#M133753</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;Could you please post your current route setting screenshots into forum which will be helpful for us to address your issue?&lt;/P&gt; 
&lt;P&gt;Thanks for your time.&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt;</description>
    <pubDate>Mon, 16 Oct 2017 03:13:40 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-10-16T03:13:40Z</dc:date>
    <item>
      <title>How to get rid of the HTTP 302 "redirect" code in cHTTP ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-rid-of-the-HTTP-302-quot-redirect-quot-code-in-cHTTP/m-p/2370744#M133752</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We need to contact an HTTP server (in POST method) to receive some information. This server is an oAth2 authentication server and replies with a 302 Redirect HTTP code.&lt;/P&gt;
&lt;P&gt;This throws an exception in our route.&lt;/P&gt;
&lt;P&gt;I tried to handle this exception with a cTry/catch but the exchange body is empty and does not contain the http response body.&lt;/P&gt;
&lt;P&gt;I tried to had some extra Apache parameters to the url such as "httpClient.handleRedirects=true" but they're not recognized.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can we handle HTTP redirects in route ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;Loko&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:12:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-get-rid-of-the-HTTP-302-quot-redirect-quot-code-in-cHTTP/m-p/2370744#M133752</guid>
      <dc:creator>Loko</dc:creator>
      <dc:date>2024-11-16T09:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to get rid of the HTTP 302 "redirect" code in cHTTP ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-rid-of-the-HTTP-302-quot-redirect-quot-code-in-cHTTP/m-p/2370745#M133753</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;Could you please post your current route setting screenshots into forum which will be helpful for us to address your issue?&lt;/P&gt; 
&lt;P&gt;Thanks for your time.&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2017 03:13:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-get-rid-of-the-HTTP-302-quot-redirect-quot-code-in-cHTTP/m-p/2370745#M133753</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-16T03:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to get rid of the HTTP 302 "redirect" code in cHTTP ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-rid-of-the-HTTP-302-quot-redirect-quot-code-in-cHTTP/m-p/2370746#M133754</link>
      <description>&lt;P&gt;I would also need an answer to this.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;So the 302 is the EXPECTED response from an external API. And the code I need to parse is in the response/redirect URL.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;How to process 302 correctly with Talend?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;I&gt;Starting job&amp;nbsp;&amp;lt; name... &amp;gt;&amp;nbsp;at 23:50 03/04/2018.&lt;/I&gt;&lt;/P&gt; 
&lt;P class="p2"&gt;[statistics] connecting to socket on port 3922&lt;/P&gt; 
&lt;P class="p2"&gt;[statistics] connected&lt;/P&gt; 
&lt;P class="p3"&gt;objc[10745]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/bin/java and /Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/jre/lib/libinstrument.dylib. One of the two will be used. Which one is undefined.&lt;/P&gt; 
&lt;P class="p3"&gt;Exception in component tRESTClient_1 (&amp;lt;... .&amp;gt;)&lt;/P&gt; 
&lt;P class="p3"&gt;javax.ws.rs.RedirectionException: HTTP 302 Found&lt;/P&gt; 
&lt;P class="p3"&gt;at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)&lt;/P&gt; 
&lt;P class="p3"&gt;at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)&lt;/P&gt; 
&lt;P class="p3"&gt;at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)&lt;/P&gt; 
&lt;P class="p3"&gt;at java.lang.reflect.Constructor.newInstance(Constructor.java:423)&lt;/P&gt; 
&lt;P class="p3"&gt;at org.apache.cxf.jaxrs.client.AbstractClient.convertToWebApplicationException(AbstractClient.java:507)&lt;/P&gt; 
&lt;P class="p3"&gt;at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:902)&lt;/P&gt; 
&lt;P class="p3"&gt;at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:863)&lt;/P&gt; 
&lt;P class="p3"&gt;at org.apache.cxf.jaxrs.client.WebClient.invoke(WebClient.java:426)&lt;/P&gt; 
&lt;P class="p3"&gt;at org.apache.cxf.jaxrs.client.WebClient.post(WebClient.java:456)&lt;/P&gt; 
&lt;P class="p3"&gt;at &amp;lt;..&amp;gt;&lt;/P&gt; 
&lt;P class="p3"&gt;&lt;I&gt;ended at 23:50 03/04/2018. [exit code=1]f&lt;/I&gt;&lt;/P&gt; 
&lt;P class="p3"&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p3"&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p3"&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p3"&gt;&lt;I&gt;&lt;A href="https://community.qlik.com/s/profile/005390000069RuGAAU"&gt;@rhall&lt;/A&gt;&amp;nbsp;any tips for this?&lt;/I&gt;&lt;/P&gt; 
&lt;P class="p3"&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p3"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2018 14:34:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-get-rid-of-the-HTTP-302-quot-redirect-quot-code-in-cHTTP/m-p/2370746#M133754</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-04T14:34:11Z</dc:date>
    </item>
  </channel>
</rss>

