I’m calling the openNMS webservices to my android mobile using restlet framework. Iam getting the resource but not complete.Its getting only limited number of xml elements. I’m calling the web service using
final String url = "http://172.16.3.32:8980/opennms/rest/outages?limit=20";
Log.d(TAG, "url = " + url);
ClientResource resource = new ClientResource(url);
resource.setChallengeResponse(new ChallengeResponse(ChallengeScheme.HTTP_BASIC, "admin", "admin"));
Log.d(TAG, "getting resource");
resource.get();
rep = resource.get();
Log.v(TAG, "get res rep"+ rep.getText().toString());
Am i missing anything??
Sorry folks,
It was all right. The log couldn’t display all the xml content and i missed something in my code which stopped parsing in the middle.
Thanks for the response.