1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
   |  
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package main;
 
import javax.jws.WebService;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.ejb.Stateless;
 import Similarity.*;
 
/**
 *
 * @author Essia
 */
@WebService(serviceName = "testWS")
@Stateless()
 
    /** This is a sample web service operation */
 
            /*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
 
 
/**
 *
 * @author Essia
 */
 
public class testWS extends Object {
 
 
    static final String inputFileName1  = "C:/benchmarks/101/onto.rdf";
    static final String inputFileName2  = "C:/benchmarks/304/onto.rdf";
 
 
    @WebMethod        
    public  void RDF_File_Maker() {
 
    	sim_ling sim=new sim_ling(inputFileName1,inputFileName2);
    	sim.parsing();
 
    }
 
 } | 
Partager