@Test
  public void testCreateService() throws Exception {
    if (log.isDebugEnabled()) {
      log.debug("Creating a Service Proxy: " + serv);
    }
    getClient().createService(serv);
    assertNotNull(getClient().getService(serv.getId()));

    // test recreation using same id
    try {
      getClient().createService(serv);
      fail("Should have thrown exception");
    } catch (Exception e) {
      // ignore
    }

    assertNotNull(getClient().getService(serv.getId()));
  }
 @Test
 public void testDeleteService() throws Exception {
   getClient().createService(serv);
   Status status = getClient().deleteService(serv.getId());
   assertNull(getClient().getService(serv.getId()));
 }