PDA

View Full Version : HTTP Digest Authentication using axis client for Mapppoint



vishnu
12-29-2010, 05:56 AM
how to authenticate while connecting to Mappoint service using axis1.4 client currently am using this code but it is not working


findServiceLocator = new FindServiceLocator(ESBConstants.WSDL_LOCATION),new QName(StoreESBConstants.MAP_POINT_NAMESPACE,StoreE SBConstants.MAP_POINT_LOCAL_PART));

FindServiceSoap findServiceSoap=findServiceLocator.getFindServiceS oap();
((Stub)findServiceSoap)._setProperty(Stub.USERNAME _PROPERTY, "user");
((Stub)findServiceSoap)._setProperty(Stub.PASSWORD _PROPERTY, "password");

pls help me in this..