Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
I am using a TREST Client object to test a rest service in my local machine and it's timing out always.
The same URL is working fine in my browser.
http://maps.googleapis.com/maps/api/geocode/xml?address=Los+Angeles&sensor=false
In TREST Client URL i use is
Relative Path "/maps/api/geocode/xml?address=Los+Angeles&sensor=false"
Any suggestion towards the same , would be great.
************
Error Message :
Exception in component tRESTClient_1
javax.ws.rs.ProcessingException: java.net.ConnectException: ConnectException invoking http://maps.googleapis.com/maps/api/geocode/json%3Faddress=Los+Angeles&sensor=false: Connection timed out: connect
at org.apache.cxf.jaxrs.client.AbstractClient.checkClientException(AbstractClient.java:582)
at org.apache.cxf.jaxrs.client.AbstractClient.preProcessResult(AbstractClient.java:564)
at org.apache.cxf.jaxrs.client.WebClient.doResponse(WebClient.java:1144)
at org.apache.cxf.jaxrs.client.WebClient.doChainedInvocation(WebClient.java:1094)
at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:894)
Hmmmm, it works when I try it through Studio. I can only think you have some sort of proxy configured for your browser
Just place the whole path in your URL. Don't worry about splitting it up and using the relative path option.
Hmmmm, it works when I try it through Studio. I can only think you have some sort of proxy configured for your browser