java eclipse から asp.net の Web サービスを呼び出しています。
私が呼び出しているアドレスは asmx で終わります:
http://mgn111:8011/MDP_InsuredDetails_WS/InsuredDetails.asmx
このサービスのメソッドにリクエストを送信すると、ログに次のエラーが表示されます。
19/02/13 12:13:05 ERROR [xxxService]: ServiceProxy Update exception: 'No endpoint'
19/02/13 12:13:05 ERROR [xxxrvice]: ServiceProxy Update exception (toString): 'No
これはコードです:
InsuredDetailsLocator locator_MDP =new InsuredDetailsLocator();
locator_MDP.setInsuredDetailsSoapEndpointAddress("http: //mgnt184:8056/MDP_InsuredDetails_WS/InsuredDetails.asmx");
InsuredDetailsSoapStub service = new InsuredDetailsSoapStub();
UpdateInsuredDetails_Input request_MDP =new UpdateInsuredDetails_Input();
request_MDP.setSystemName(urlProps.getProperty(MDP_USERNAME));
request_MDP.setSystemPassword(urlProps.getProperty(MDP_PASSWORD));
request_MDP.setMS_ZIHUY(insuree.getMsZihuy());
request_MDP.setKOD_CHEVRA(insuree.getKodChevra());
request_MDP.setFAMILY_NAME(insuree.getFamilyName());
request_MDP.setFIRST_NAME(insuree.getFirstName());
request_MDP.setKOD_MIN(insuree.getKodMin());
request_MDP.setSMOKING(insuree.getSmoking());
request_MDP.setCURRENT_OCCUPATION(insuree.getCurrOcupation());
request_MDP.setINTERNET_INDICATOR(insuree.getInternetInd());
request_MDP.setMS_SOCHEN_MEVUTACH_VIP(0);
if(insuree.getSemelYeshuv()!=null)
request_MDP.setSEMEL_YESHUV(insuree.getSemelYeshuv().toString());
if(insuree.getShemYeshuv()!=null)
request_MDP.setSHEM_YESHUV(insuree.getShemYeshuv().toString());
request_MDP.setSEMEL_RECHOV(insuree.getSemelRechov());
request_MDP.setSHEM_RECHOV(insuree.getShemRechov());
//I get here the exception :No endpoint
//calling the method:
UpdateInsuredDetails_Output response_MDP= service.recieveMDMDataInsuredDetails (request_MDP);