hello,
i want to test my service web i write this class to call my method appel:
but he signe error :Exception in thread "main" java.lang.Error : Unresolved compilation problem:
The method ListeMagasinPro cheDe(MagasinSe rvicesStub.List eMagasinProcheD e) in the type MagasinServices Stub is not applicable for the arguments (double, double)
at projetd.Service Test.main(Servi ceTest.java:8)
why i test with eclipse
thanks
i want to test my service web i write this class to call my method appel:
Code:
import projetd.MagasinServicesStub.ListeMagasinProcheDeResponse;
import java.rmi.RemoteException;
public class ServiceTest {
public static void main(String[] args) {
// TODO Auto-generated method stub
MagasinServicesStub stub=new MagasinServicesStub();
ListeMagasinProcheDeResponse res=stub.ListeMagasinProcheDe(49.894593,2.298256);
System.out.println("Counter: "+res.get_return());
}
}
The method ListeMagasinPro cheDe(MagasinSe rvicesStub.List eMagasinProcheD e) in the type MagasinServices Stub is not applicable for the arguments (double, double)
at projetd.Service Test.main(Servi ceTest.java:8)
why i test with eclipse
thanks
Comment