I am using
http://technet.rapaport.com/webservices/Upload/DiamondManager.asmx
DiamondManager.DiamondManagerSoapClient oDiamondManager = new
DiamondManager.DiamondManagerSoapClient();
DiamondManager.AuthenticationTicketHeader oAuthenticationTicketHeader = oDiamondManager.Login(username, password);
// NOT GETTING DiamondManager.Url = "http" + DiamondManager.Url.Substring(5);
DiamondManager.DeleteLotParameters oDeleteLotParameters = new
DiamondManager.DeleteLotParameters();
oDeleteLotParameters.ByField =
DiamondManager.ByFieldTypes.StockNum;
oDeleteLotParameters.FieldValueList = "XXXXXXXXX";
string stResult = oDiamondManager.DeleteLots(oAuthenticationTicketHeader, oDeleteLotParameters).ResultDescription;
I am not getting .Url. And if without it I am getting error "Server was unable to process request. ---> Credentials can only be passed over secure connections (HTTPS)."
What I am missing? Please someone help me out here.