Do you have something in the log or did you instrument your code to know
where you are in the statement ?
Regards
JB
On 08/26/2015 07:44 AM, abhilashb wrote:
Hello,
I am trying to connect eASEE SDOM repository using httpClient.
HttpMethod method = new GetMethod(url.toString());
method.addRequestHeader("Accept", "application/json");
method.addRequestHeader("OSLC-Core-Version", "2.0");
httpClient.executeMethod(method);
String response = method.getResponseBodyAsString();
Note : url contains username/password, server url
But in Karaf, I wont get the response back after executing -
httpClient.executeMethod(method);
Please could anybody guide me whats going wrong here?
Regards,
Abhilash B.
--
View this message in context:
http://karaf.922171.n3.nabble.com/Karaf-issue-http-client-related-tp4041922p4042061.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com