Java Web Service link :
This web service is temporarily unavailable until July 8th 2016, if you need an earlier access you can contact Maxime Chassaing at this address: maxime.chassaing[@]gmail[dot]com
http://orws2.isima.fr/EssaiJavaWebService/EssaiJavaWebService?wsdl
Java Web Backup Service :
This web service is temporarily unavailable until July 8th 2016, if you need earlier an access you can contact Maxime Chassaing at this address: maxime.chassaing[@]gmail[dot]com
http://orws.isima.fr/EssaiJavaWebService/EssaiJavaWebService?wsdl
ressources.EssaiJavaWebService_Service service = new ressources.EssaiJavaWebService_Service();
ressources.EssaiJavaWebService port = service.getEssaiJavaWebServicePort();
File f = new File ("mon_instance.inst");
FileInputStream ips = new FileInputStream(f.getName());
byte[] in = new byte[ips.available()];
ips.read(in);
ips.close();
HolderInteger error = new HolderInteger();
HolderString stringError = new HolderString();
Data data_instance = port.getData(in, error, stringError);
HolderInteger error = new HolderInteger();
uuid = startGrasp(in, 20, 20, error);
jLabel4.setText((uuid));
int check = check(uuid);
if(check == 1)
{
byte[] fichier_result = resultat(uuid);
File file_instance = new File("mon_resultat.res");
FileOutputStream fileStream2 = new FileOutputStream(file_instance,false);
fileStream2.write(fichier_result);
fileStream2.close();
}
The server where the calcul are done is not very powerful because it's inside a virtual machine, it's processing speed is around 900 MFlops. It haves 4 cores so in theory it can do 4 executions of the GRASP without slowing down, but others web services are hosted on the server. For the same reason, the times can vary considerably. The times are given with a value of the parameters of 50 neighbours and 80 iterations for the ELS. You can get much faster with a lower value of these parameters but the results may not be as good.