java calling web service- No endpoint exception [message #1011868] |
Wed, 20 February 2013 11:54 |
r r Messages: 1 Registered: February 2013 |
Junior Member |
|
|
i am calling from java eclipse to a web service from asp.net. the address that i am calling ends with asmx: http ://mgn111:8011/MDP_InsuredDetails_WS/InsuredDetails.asmx
when I sending the request to the method in this srvice i get this error in my log:
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 endpoint
why do i get this error ?
this is the code:
InsuredDetailsLocator locator_MDP =new InsuredDetailsLocator();
locator_MDP.setInsuredDetailsSoapEndpointAddress("http: //mgnt184:8056/MDP_InsuredDetails_WS/InsuredDetails.asmx?WSDL");
locator_MDP.setInsuredDetailsSoapEndpointAddress("http: //mgnt184:8056/MDP_InsuredDetails_WS/InsuredDetails.asmx?WSDL");
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);
|
|
|
Powered by
FUDForum. Page generated in 0.09399 seconds