1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
kb=onto.chargerProjet();
String nomInstance = "profil1_Instance_0";
String ws_req="serviceweb";
InvocationService service = new InvocationServiceLocator();
try {
Calling.javapackage.Invocation port = service.getInvocation();
try {
// Mise en oeuvre du service par application directe des méthodes
port.ajoutInstreq(nomInstance, requete, ws_req, nbServ, tService, kb);
} catch (RemoteException e1) {
e1.printStackTrace();
}
} catch (ServiceException e) {
e.printStackTrace();
} |
Partager