### Question:
IfServicesRestService extends OnmsRestService { @GET @Produces({MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON, MediaType.APPLICATION_ATOM_XML}) public OnmsMonitoredServiceDetailList getServices() { readLock(); try { final Criteria c = getCriteria(m_uriInfo.getQueryParameters()); final OnmsMonitoredServiceDetailList servicesList = new OnmsMonitoredServiceDetailList(); final List<OnmsMonitoredService> services = m_serviceDao.findMatching(c); for (OnmsMonitoredService svc : services) { servicesList.add(new OnmsMonitoredServiceDetail(svc)); } c.setLimit(null); c.setOffset(null); c.setOrders(new ArrayList<Order>()); servicesList.setTotalCount(m_serviceDao.countMatching(c)); return servicesList; } finally { readUnlock(); } }  @GET @Produces({MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON, MediaType.APPLICATION_ATOM_XML}) OnmsMonitoredServiceDetailList getServices(); @PUT Response updateServices(MultivaluedMapImpl params);  }### Answer:
@Test public void testGetServices() throws Exception { String url = "/ifservices"; String xml = sendRequest(GET, url, 200); System.err.println(xml); }