I need to see the exact URL you posted on the web site and the code including all parameters you are trying in the web service
I did my test with Round, Color: E, MinSize: 1 MaxSize:1 in the web site and in the WebService and I got the same results
Here is my code:
DownloadListings webServiceManager =
new DownloadListings();
//This must be done in HTTPS protocol
webServiceManager.Login("username", "password");
//After log in you will receive a encrypted ticket with your credentials. This will be used to authenticate your session.
//Now you can choose to change the protocol to HTTP so it works faster.
webServiceManager.Url = "http" + webServiceManager.Url.Substring(5);
DownloadListingsParameters setPatams =
new DownloadListingsParameters();
Shapes[] MyShapes = new Shapes[1];
MyShapes[0] = Shapes.ROUND;
Colors[] MyColors = new Colors[1];
MyColors[0] = Colors.E;
setPatams.MinSize = 1;
setPatams.MaxSize = 1;
setPatams.ColorCollection = MyColors;
setPatams.ShapeCollection = MyShapes;
//setPatams.Markup = 120;
DataSet ds = webServiceManager.GetDiamonds(setPatams);
System.IO.File.AppendAllText(@"C:\\TestWithOutMarkup.csv", Excel.ConvertToCSV(ds.Tables[0]));
And the URL I posted in the site:
http://technet.rapaport.com/HTTP/RapLink/download.aspx?ShapeIDs=1&WeightFrom=1&WeightTo=1&ColorIDs=2&SortBy=Owner&White=1&Fancy=1&Programmatically=yes&Version=1.0
if you prefer to send me your code to my email you can send it to this email: Ahaliav@diamonds.net
|