Developer Forum [ All Topics | New Topic ]

Thread: Delete Lot Issue

I am using

.DiamondManagerSoapClient oDiamondManager = new
DiamondManager.AuthenticationTicketHeader oAuthenticationTicketHeader = oDiamondManager.Login(username, password);

// NOT GETTING DiamondManager.Url = "http" + DiamondManager.Url.Substring(5);

DiamondManager.DeleteLotParameters oDeleteLotParameters = new
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.

>> add a comment
Tushar Mangukiya
08/07/2013 08:41

4 Replies:

>> add a comment
8/7/2013 8:45:00 AM
It worked.

Thanks a lot Ephraim.

>> add a comment
Tushar Mangukiya
8/7/2013 8:58:00 AM
  Hello Tushar Mangukiya
can you tell me, how to create this object oDiamondManager, Any Dll or class is require for that?

if yes than please specify, and give some ideas.

DiamondManager.DiamondManagerSoapClient oDiamondManager = new

>> add a comment
3/29/2014 1:48:00 AM
you have to define web reference or service  reference. only then you'll be able to use the DiamondManger class

>> add a comment
3/30/2014 4:04:00 AM