protected void setUp() throws Exception { classeDaAggiungere.setId(1); classeDaAggiungere.setAnnoCorso(2); classeDaAggiungere.setIndirizzoStudiId(20); classeDaAggiungere.setSezione(30); classeDaCancellare.setId(99); classeDaCancellare.setAnnoCorso(4); classeDaCancellare.setIndirizzoStudiId(20); classeDaCancellare.setSezione(30); // Salvo una Classe da cancellare try { // Call Web Service Operation ws.didattica.driver.testclient.WSTestService service = new ws.didattica.driver.testclient.WSTestService(); ws.didattica.driver.testclient.WSTest port = service.getWSTestPort(); // TODO initialize WS operation arguments here long result = port.salvaClasse(classeDaCancellare); System.out.println("Result = " + result); } catch (Exception ex) { // TODO handle custom exceptions here } }