<?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: [resolved] REST service proxy route in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-REST-service-proxy-route/m-p/2238015#M26265</link>
    <description>Great! Nice to see it working. 
&lt;BR /&gt;One suggestion is to use the Context mechanism to allow for configuration of the hosts and ports for the Proxy endpoint and also the internal web server. 
&lt;BR /&gt;In the Proxy Service URL, set it to 
&lt;BR /&gt;"jetty:http://"+context.host + ":"+ context.port +"?matchOnUriPrefix=true" 
&lt;BR /&gt; 
&lt;BR /&gt;In the cProcessor, use the context variables -&amp;gt;&amp;gt; 
&lt;BR /&gt;String inbound=(String)exchange.getIn().getHeader(org.apache.camel.Exchange.HTTP_URI); 
&lt;BR /&gt;System.out.println("&amp;gt; " + "http://"+context.internal_host+":"+context.internal_port+inbound); 
&lt;BR /&gt;// set URI for internal service 
&lt;BR /&gt;exchange.getOut().setHeader(org.apache.camel.Exchange.HTTP_URI, constant("http://"+context.internal_host+":"+context.internal_port+inbound)); 
&lt;BR /&gt; 
&lt;BR /&gt;Lastly create the 4 context values with default values in the properties panel 
&lt;BR /&gt;host=0.0.0.0 
&lt;BR /&gt;port=80 
&lt;BR /&gt;internal_host=myhost 
&lt;BR /&gt;internal_port=8000</description>
    <pubDate>Wed, 07 Sep 2011 15:45:37 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-09-07T15:45:37Z</dc:date>
    <item>
      <title>[resolved] REST service proxy route</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-REST-service-proxy-route/m-p/2237990#M26240</link>
      <description>&lt;P&gt;Hello!&lt;BR /&gt;Using Talend ESB, I want to proxy my REST service that is deployed, for example, on: &lt;A href="http://hostnameA:8080/web_app" target="_blank"&gt;http://hostnameA:8080/web_app&lt;/A&gt; to &lt;A href="http://hostnameB:8085/web_app" target="_blank"&gt;http://hostnameB:8085/web_app&lt;/A&gt;. That means, when I want to invoke the service (&lt;A href="http://hostnameA:8080/web_app" target="_blank"&gt;http://hostnameA:8080/web_app&lt;/A&gt;), I need to invoke them on: &lt;A href="http://hostnameB:8085/web_app" target="_blank"&gt;http://hostnameB:8085/web_app&lt;/A&gt;. It is just a simple proxy route.&lt;BR /&gt;I tried to do this using TOS and Talend ESB Studio, but without result. I tried something similar with Axis web services and works fine. My configuration for this case was:&lt;BR /&gt;Part of camel-config.xml file&lt;/P&gt; 
&lt;!-- this is the webservice we use as front end. Service name: TokenService --&gt; 
&lt;P&gt;&lt;BR /&gt; &lt;BR /&gt; address="&lt;A href="http://proxy_hostname:8090/application/service/TokenService" target="_blank"&gt;http://proxy_hostname:8090/application/service/TokenService&lt;/A&gt;"&lt;BR /&gt; endpointName="s&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9p6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134116iFBD5D7F21624A744/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9p6.png" alt="0683p000009M9p6.png" /&gt;&lt;/span&gt;ervice"&lt;BR /&gt; serviceName="s:TokenService"&lt;BR /&gt; wsdlURL="etc/TokenService.wsdl"&lt;BR /&gt; xmlns:s="&lt;A href="http://tempo.intalio.org/security/tokenService/&amp;quot;/" target="_blank" rel="nofollow noopener noreferrer"&gt;http://tempo.intalio.org/security/tokenService/"/&lt;/A&gt;&amp;gt;&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; serviceName="serviceNS:TokenService"&lt;BR /&gt; endpointName="serviceNS&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9p6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134116iFBD5D7F21624A744/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9p6.png" alt="0683p000009M9p6.png" /&gt;&lt;/span&gt;ervice" address="&lt;A href="http://hostname:8080/axis2/services/TokenService" target="_blank"&gt;http://hostname:8080/axis2/services/TokenService&lt;/A&gt;"&amp;gt;&lt;BR /&gt; &lt;BR /&gt;....&lt;BR /&gt; &lt;/P&gt; 
&lt;!-- This the route for TokenService --&gt; 
&lt;P&gt;&lt;BR /&gt; &lt;/P&gt; 
&lt;!-- cxf consumer using MESSAGE format --&gt; 
&lt;P&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/P&gt; 
&lt;!-- send proxied request to real web service --&gt; 
&lt;P&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;Can someone help me?&lt;BR /&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 12:43:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-REST-service-proxy-route/m-p/2237990#M26240</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] REST service proxy route</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-REST-service-proxy-route/m-p/2237991#M26241</link>
      <description>Can anyboby, please help me?</description>
      <pubDate>Tue, 23 Aug 2011 10:58:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-REST-service-proxy-route/m-p/2237991#M26241</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-23T10:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] REST service proxy route</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-REST-service-proxy-route/m-p/2237992#M26242</link>
      <description>Hi,
&lt;BR /&gt;Can you give us a little bit more details on what is not working actually ?
&lt;BR /&gt;Thanks,
&lt;BR /&gt;Bahaaldine</description>
      <pubDate>Tue, 23 Aug 2011 14:29:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-REST-service-proxy-route/m-p/2237992#M26242</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-23T14:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] REST service proxy route</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-REST-service-proxy-route/m-p/2237993#M26243</link>
      <description>Hi, 
&lt;BR /&gt;I have a REST service deployed on http://hostname:8080/alfresco/service/service_name/process/{instanceId}/doctypes/{doctype} with,as you can see, 2 parameters. I want to publish this service on Talend ESB and proxy them on different hostname and (or) port. 
&lt;BR /&gt;I've tried with a job that call this service using the tREST component, exported them as an OSGi bundle for ESB and deployed on ESB. When I invoke them with "job:start job_name" command it works fine. Shows the expected response (link in string format). I think this is not a right solution to proxy a REST service. 
&lt;BR /&gt;How can I invoke this job remotely from another application? Is there any other better solutions to proxy a REST service using Talend ESB? Can I use the Route Builder within Talend ESB Studio to create a simple proxy route? If yes, how? Is there any example? 
&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 23 Aug 2011 14:59:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-REST-service-proxy-route/m-p/2237993#M26243</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-23T14:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] REST service proxy route</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-REST-service-proxy-route/m-p/2237994#M26244</link>
      <description>Hi
&lt;BR /&gt;You can probably just use simpler Camel HTTP or Jetty components for a simple proxying.
&lt;BR /&gt;I'm not sure if you can use CXF components in the from: mode when WSDL2 is used to describe a RESTful endpoint.
&lt;BR /&gt;Alternatively please also consider using to:cxfrs:uri, instead of just to:uri, though to:uri should work, the problem seems to be on the from: end</description>
      <pubDate>Tue, 23 Aug 2011 16:20:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-REST-service-proxy-route/m-p/2237994#M26244</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-23T16:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] REST service proxy route</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-REST-service-proxy-route/m-p/2237995#M26245</link>
      <description>Hi,
&lt;BR /&gt;I think you can do it directly on the RouteBuilder : 
&lt;BR /&gt;- Create a cMessagingEndpoint, set the URI as follow : 
&lt;BR /&gt;"cxf://http://KarafHostName:KarafPort/webserviceEndpoint?wsdlURL=file:///pathToMyWSDL/file.wsdl&amp;amp;dataFormat=MESSAGE"
&lt;BR /&gt;This messaging endpoint is the proxy service entry point.
&lt;BR /&gt;- Create a cMessagingEndpoint, set the URI to your REST Web service : 
&lt;BR /&gt;"cxf://http://RESTHostName:RestPortt/RestWebserviceEndpoint?dataFormat=MESSAGE"
&lt;BR /&gt;
&lt;BR /&gt;Connect the two cMessagingEndpoint and run.
&lt;BR /&gt;
&lt;BR /&gt;Bahaaldine</description>
      <pubDate>Tue, 23 Aug 2011 16:24:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-REST-service-proxy-route/m-p/2237995#M26245</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-23T16:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] REST service proxy route</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-REST-service-proxy-route/m-p/2237996#M26246</link>
      <description>@ bahaaldine: if using TESB 4.2.0, maybe a patch about CXF is needed to make the Route work. And in the next release of TESB, Route with CXF will run without any workaround.</description>
      <pubDate>Wed, 24 Aug 2011 02:37:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-REST-service-proxy-route/m-p/2237996#M26246</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-24T02:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] REST service proxy route</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-REST-service-proxy-route/m-p/2237997#M26247</link>
      <description>Hi bahaaldine, 
&lt;BR /&gt;should I implement a service and write a WSDL for my REST service which I will expose on ESB or? I don't understand. 
&lt;BR /&gt;I tried with this configuration: 
&lt;BR /&gt;First cMessagingEndpoint: 
&lt;BR /&gt;"cxf://http://localhost:18081/applicationName/service/serviceName/process?dataFormat=MESSAGE" 
&lt;BR /&gt;Second cMessagingEndpoint: 
&lt;BR /&gt;"cxf://http://mashina:8080/applicationName/service/serviceName/process?dataFormat=MESSAGE" 
&lt;BR /&gt;The error I get is: "Failed to create route cMessagingEndpoint_1: Route[[From[cxf://http://localhost:18081/alfresco/service/ab... because of Failed to resolve endpoint: cxf://http://localhost:18081/alfresco/service/abitecm/process?dataFormat=MESSAGE due to: No component found with scheme: cxf" (Error within Talend Route Builder when I press Run) 
&lt;BR /&gt;Then I have tried without "cxf" prefix in uri. No errors. 
&lt;BR /&gt;When I invoke the endpoint: http://localhost:18081/applicationName/service/serviceName/process/{parameter1}/doctypes/{parameter2} 
&lt;BR /&gt;nothing happens (Firefox REST client) 
&lt;BR /&gt;KarafHostName: localhost 
&lt;BR /&gt;KarafPort: 18081 
&lt;BR /&gt;I deployed the route on Talend ESB and invoked again the endpoint. The error I get then is: 
&lt;BR /&gt;" 
&lt;BR /&gt; 
&lt;BR /&gt;&amp;lt;META http-equiv="Content-Type" content="text/html;charset=ISO-8859-1" /&amp;gt; 
&lt;BR /&gt;&amp;lt;TITLE&amp;gt;Error 404 Not Found&amp;lt;/TITLE&amp;gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;H2&gt;HTTP ERROR: 404&lt;/H2&gt; 
&lt;P&gt;Problem accessing /applicationName/service/serviceName/process/28/doctypes/doctypeName. Reason:&lt;BR /&gt;&lt;/P&gt; 
&lt;PRE&gt;    Not Found&lt;/PRE&gt; 
&lt;P&gt;&lt;/P&gt; 
&lt;BR /&gt; 
&lt;HR /&gt; 
&lt;I&gt;&amp;lt;SMALL&amp;gt;Powered by Jetty://&amp;lt;/SMALL&amp;gt;&lt;/I&gt;" 
&lt;BR /&gt;I do not know if I have well explained what I need?!</description>
      <pubDate>Wed, 24 Aug 2011 15:01:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-REST-service-proxy-route/m-p/2237997#M26247</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-24T15:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] REST service proxy route</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-REST-service-proxy-route/m-p/2237998#M26248</link>
      <description>Hi,&lt;BR /&gt;I want to have this functionality for the REST service using Talend ESB:&lt;BR /&gt;&lt;A href="http://www.mulesoft.org/web-service-proxy" rel="nofollow noopener noreferrer"&gt;http://www.mulesoft.org/web-service-proxy&lt;/A&gt;</description>
      <pubDate>Thu, 25 Aug 2011 11:07:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-REST-service-proxy-route/m-p/2237998#M26248</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-25T11:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] REST service proxy route</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-REST-service-proxy-route/m-p/2237999#M26249</link>
      <description>Hi, 
&lt;BR /&gt;can anyone help me to solve this problem? I have a deadline next Monday. 
&lt;BR /&gt;I have tried various solutions like: 
&lt;BR /&gt; 
&lt;A href="http://camel.apache.org/cxfrs.html" rel="nofollow noopener noreferrer"&gt;http://camel.apache.org/cxfrs.html&lt;/A&gt; 
&lt;BR /&gt; 
&lt;A href="http://camel.apache.org/http.html" rel="nofollow noopener noreferrer"&gt;http://camel.apache.org/http.html&lt;/A&gt; 
&lt;BR /&gt;but without result &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;</description>
      <pubDate>Thu, 25 Aug 2011 13:45:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-REST-service-proxy-route/m-p/2237999#M26249</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-25T13:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] REST service proxy route</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-REST-service-proxy-route/m-p/2238000#M26250</link>
      <description>Hi, 
&lt;BR /&gt;I have a another question.. 
&lt;BR /&gt;If I have a job deployed on Talend ESB and the job calls a REST service using tREST or tHttpRequest component with 2 parameters (http://mashina:8080/applicationName/service/serviceName/process/{parameter1}/doctypes/{parameter2} - REST service endpoint), how can I invoke this job remotely from another application and read (or store) the response? 
&lt;BR /&gt;The KarafHostName is: localhost and KarafPort is: 18081 
&lt;BR /&gt;Thanks in advance!</description>
      <pubDate>Thu, 25 Aug 2011 14:02:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-REST-service-proxy-route/m-p/2238000#M26250</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-25T14:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] REST service proxy route</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-REST-service-proxy-route/m-p/2238001#M26251</link>
      <description>Hi ipercinlic, i'm also new to talend esb, camel, ... but i think you can solve this error "The error I get is: "Failed to create route cMessagingEndpoint_1: Route[[From[cxf://http://localhost:18081/alfresco/service/ab... because of Failed to resolve endpoint: cxf://http://localhost:18081/alfresco/service/abitecm/process?dataFormat=MESSAGE due to: No component found with scheme: cxf" (Error within Talend Route Builder when I press Run)" if you set the Camel component dependency to 'cxf' of the cMessagingEndpoint_1 component (Look under "Advenced settings" of the component cMessagingEndpoint_1). What i don't understand is that CXF has a special prefix for REST CXF Web Services (CXFRS, 
&lt;A href="http://camel.apache.org/components.html)" rel="nofollow noopener noreferrer"&gt;http://camel.apache.org/components.html)&lt;/A&gt; and how to import that prefix. May be you can import the prefix CXFRS when you import the corresponding .jar (Look under "Advenced settings" of the component cMessagingEndpoint_1 + "Use a custom component"). 
&lt;BR /&gt;If i then try to run the example directly in the studio i get some "NoClassDefFoundError" errors. I believe that some camel / spring jars are missing in the studio runtime environment. But you can export the route and try to "import" these route in the talend esb (karaf). Unfortunately is in my example no proxy ws under the url http://KarafHostName:KarafPort/webserviceEndpoint reachable but may be you find a solution for this problem or it helps you to go further. 
&lt;BR /&gt;Good Luck!!!</description>
      <pubDate>Fri, 26 Aug 2011 17:40:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-REST-service-proxy-route/m-p/2238001#M26251</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-26T17:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] REST service proxy route</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-REST-service-proxy-route/m-p/2238002#M26252</link>
      <description>Hi frankEichholz, I tried your suggestion. When I run the route in the Talend ESB console, I get the error: "karaf@tesb&amp;gt; Failed to create Producer for endpoint: Endpoint. Reason: org.apache.camel.RuntimeCamelException: java.lang.NullPointerException". &lt;BR /&gt;I have a simple requirement - just want to expose my REST service on Talend ESB and I can't believe that there is no (simple) way to do it?! Or? &lt;BR /&gt;Talend Team?&lt;BR /&gt;Can anybody answer my question how can I run (call) a talend Job deployed on Talend ESB (as OSGi bundle for ESB) from another application? &lt;BR /&gt;Thanks in advance!</description>
      <pubDate>Mon, 29 Aug 2011 10:55:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-REST-service-proxy-route/m-p/2238002#M26252</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-29T10:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] REST service proxy route</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-REST-service-proxy-route/m-p/2238003#M26253</link>
      <description>Hi ipercinlic, me again. 
&lt;BR /&gt;I believe that you have to set some more cxf options. 
&lt;BR /&gt;bahaaldine mentioned that you have to set the wsdlURL option too. 
&lt;BR /&gt;"cxf://http://KarafHostName:KarafPort/webserviceEndpoint?wsdlURL=file:///pathToMyWSDL/file.wsdl&amp;amp;dataFormat=MESSAGE" 
&lt;BR /&gt;In my example (that currently does not work) i set the following options. I think it mainly depends on your wsdl. 
&lt;BR /&gt;"cxf://http://localhost:8080/webservices/TransportOrderService?wsdlURL=file:///C:/Temp/talend/TransportOrderService.wsdl&amp;amp;dataFormat=MESSAGE&amp;amp;portName={http://salt-solutions.de/logbase/transportorder/}TransportOrderServiceSoap" 
&lt;BR /&gt;Did you tried the "CXFRS" prefix and imported the corresponding jar ( 
&lt;A href="http://camel.apache.org/cxfrs.html" rel="nofollow noopener noreferrer"&gt;http://camel.apache.org/cxfrs.html&lt;/A&gt;)? 
&lt;BR /&gt;Sorry that i can not help you more but as i said i'm new to the technology.</description>
      <pubDate>Mon, 29 Aug 2011 15:25:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-REST-service-proxy-route/m-p/2238003#M26253</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-29T15:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] REST service proxy route</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-REST-service-proxy-route/m-p/2238004#M26254</link>
      <description>hi,&lt;BR /&gt;For the Proxy Web server, can you try the following in ESB Studio&lt;BR /&gt;Create the HTTP listener for http://hostnameA:8080/web_app&lt;BR /&gt;1. Create a MessageEndpoint to listen for your HTTP requests (ProxyService)&lt;BR /&gt;2. In the Component panel, "Basic Settings" set the URL to "jetty:http://hostnameA:8080/web_app"&lt;BR /&gt;3. In the "Advanced Settings" click the + to add a dependency. Select 'jetty'&lt;BR /&gt;Forward request to  http://hostnameB:8085/web_app (InternalService)&lt;BR /&gt;1. Create a MessageEndpoint&lt;BR /&gt;2. In the Component panel, under "Basic Settings" set the URL to http://hostnameB:8085/web_app&lt;BR /&gt;Create Proxy Service (Proxify)&lt;BR /&gt;You need to connect the inbound message and proxy the request to the service on hostnameB, _and_ connect the response messages on the outbound&lt;BR /&gt;1. Add a cProcessor&lt;BR /&gt;2. In Basic Settings of the Component add the following&lt;BR /&gt;   //Print Request headers &lt;BR /&gt;  System.out.println("&amp;gt; " + exchange.getIn().getHeaders()); &lt;BR /&gt;  //Create response message&lt;BR /&gt;  exchange.getOut();&lt;BR /&gt;&lt;BR /&gt;The first part is just for logging the request, so you can see something happening. The second line though is what connects the responses.&lt;BR /&gt;&lt;BR /&gt;Certainly this works for me.&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Ciaran</description>
      <pubDate>Tue, 30 Aug 2011 18:15:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-REST-service-proxy-route/m-p/2238004#M26254</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-30T18:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] REST service proxy route</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-REST-service-proxy-route/m-p/2238005#M26255</link>
      <description>Hi cdynes,
&lt;BR /&gt;I tried your proposed solution, but when I invoke the REST service deployed on hostnameB I didn't get the response.
&lt;BR /&gt;The expected response of my REST service is an url (in string format).
&lt;BR /&gt;I tried with this configuration:
&lt;BR /&gt;First cMessageEndpoint (HTTP listener) url: (Proxy service) "jetty:http://mashina:8085/alfresco/service/service_name/process/28/doctypes/banka.odobravanjeKredita.gotovinski.kreditniZahtjev"
&lt;BR /&gt;Second cMessageEndpoint url: (Real web service)
&lt;BR /&gt;"http://mashina:8080/alfresco/service/service_name/process/28/doctypes/banka.odobravanjeKredita.gotovinski.kreditniZahtjev?throwExceptionOnFailure=false"
&lt;BR /&gt;The response that I get is: "Message: "
&lt;BR /&gt;Look for the screenshots.
&lt;BR /&gt;I checked the servers access logger and the request that commes to my service is fine:
&lt;BR /&gt; "GET /alfresco/service/service_name/process/28/doctypes/banka.odobravanjeKredita.gotovinski.kreditniZahtjev HTTP/1.1" 200 119
&lt;BR /&gt;I am using Jboss as an application server.</description>
      <pubDate>Wed, 31 Aug 2011 14:07:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-REST-service-proxy-route/m-p/2238005#M26255</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-31T14:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] REST service proxy route</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-REST-service-proxy-route/m-p/2238006#M26256</link>
      <description>Hi,&lt;BR /&gt;You shouldn't need the second cProcessor.&lt;BR /&gt;&lt;A href="http://www.screencast.com/users/CiaranDynes/folders/Talend/media/85e24eb4-356e-46b0-a34d-26673bc7affb" rel="nofollow noopener noreferrer"&gt;http://www.screencast.com/users/CiaranDynes/folders/Talend/media/85e24eb4-356e-46b0-a34d-26673bc7affb&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Ciaran</description>
      <pubDate>Fri, 02 Sep 2011 14:36:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-REST-service-proxy-route/m-p/2238006#M26256</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-09-02T14:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] REST service proxy route</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-REST-service-proxy-route/m-p/2238007#M26257</link>
      <description>Hi cdynes, when I use the cSetHeader component to set the "Authorization" header (because my internal service needs an authentication), the proxy route works fine. In my test route, the cSetHeader component is configured with these parameters: 
&lt;BR /&gt;Header: "Authorization" 
&lt;BR /&gt;Language: Constant 
&lt;BR /&gt;Expression: "Basic value for username and password (fixed)" 
&lt;BR /&gt;How should I configure the cSetHeader component or the entire route to use the authorization parameters which are coming with a request? 
&lt;BR /&gt;I use the Firefox REST Client to test my route. 
&lt;BR /&gt;Thanks a lot for your help!</description>
      <pubDate>Mon, 05 Sep 2011 10:02:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-REST-service-proxy-route/m-p/2238007#M26257</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-09-05T10:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] REST service proxy route</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-REST-service-proxy-route/m-p/2238008#M26258</link>
      <description>Hi,&lt;BR /&gt;Good to hear!&lt;BR /&gt;Not sure I understand the setHeader() question. Is it that you need to add a new header for the internal REST service?&lt;BR /&gt;&lt;BR /&gt;Ciaran&lt;BR /&gt; &lt;A href="http://camel.apache.org/http.html" rel="nofollow noopener noreferrer"&gt;http://camel.apache.org/http.html&lt;/A&gt;</description>
      <pubDate>Mon, 05 Sep 2011 13:33:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-REST-service-proxy-route/m-p/2238008#M26258</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-09-05T13:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] REST service proxy route</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-REST-service-proxy-route/m-p/2238009#M26259</link>
      <description>Hi, 
&lt;BR /&gt;Because my REST Internal service needs the authentication, when I invoke the Proxy service I need also to send the authentication parameters (username, password). Using the Firefox REST client plugin, I've set the header "Authorization" and the corresponding value for username and password (Authorization=Basic someValue). When I want to invoke the service, I always get the dialog to enter the username and password although I have the "Authorization" header set. 
&lt;BR /&gt;But, when I use the cSetHeader component with these parameters: 
&lt;BR /&gt;Header: "Authorization" 
&lt;BR /&gt;Language: Constant 
&lt;BR /&gt;Expression: "Basic value for username and password (fixed)" 
&lt;BR /&gt;the service works fine. 
&lt;BR /&gt;I don't want to use fixed authentication parameters but parameters which I will send when I invoke the Proxy service. The question is - how can I proxy my authentication parameters to my REST internal service?</description>
      <pubDate>Mon, 05 Sep 2011 14:17:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-REST-service-proxy-route/m-p/2238009#M26259</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-09-05T14:17:16Z</dc:date>
    </item>
  </channel>
</rss>

