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.