Thanks for the help.
One more question, what if my proxy (not NTLM) require user/pass to authenticate? The CXF Client Element doesn't have these attributes. Regards. Fernando Cesar ----- Mensagem original ----- De: "Aki Yoshida" <elak...@gmail.com> Para: users@camel.apache.org Enviadas: Quarta-feira, 12 de março de 2014 18:15:57 Assunto: Re: How to consume a Rest Web Service passing through a proxy server If you are using the cxf component, you will need to configure the client setting in the cxf component. Here is the link: https://cxf.apache.org/docs/client-http-transport-including-ssl-support.html#ClientHTTPTransport(includingSSLsupport)-Theclientelement regards, aki 2014-03-12 20:02 GMT+01:00 Fernando Cesar da Silva <fsi...@synchro.com.br>: > Hi, > > I'm using CXFRS Component to consume a Rest Web Service and everything is > working fine so far. > > Now I have to make the connection go through a proxy server. > > Using the HTTP Component, I have explicitly set the proxy in CamelContext and > the connection reach the proxy as expected, but the CXFRS Component seems to > ignore these settings. > > > > > > CamelContext context = obterCamelContext() > context.getProperties().put("http.proxyHost","cavmtapp99") > context.getProperties().put("http.proxyPort","3128") > > > > > How / where could I set my proxy host and port to the CXFRS Component? > > > > > Thanks! > Fernando Cesar >