Developer Forum [ All Topics | New Topic ]

Thread: RapNet Inventory LinkPlus Web Service Example (C#)

hi

i am using below code 
 i got error   (    Server was unable to process request. ---> Credentials can only be passed over secure connections (HTTPS)  )

Please assist me..

First option:
RapLinkInventoryPlusWebService.RetailFeed webServiceManager =
new RapLinkInventoryPlusWebService.RetailFeed();

//This must be done in HTTPS protocol
webServiceManager.Login("MyUser""MyPassword");

//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);

int DiamondCount;

DataTable dt = webServiceManager.GetDiamonds(
webServiceManager.Shapes.ROUND,
0.2, 15.3, //size From - To 
webServiceManager.Colors.D, webServiceManager.Colors.K, // Color From - To 
webServiceManager.Clarities.IF, webServiceManager.Clarities.VVS2, // Clarity From - To 
webServiceManager.Cuts.EXCELLENT, webServiceManager.Cuts.VERY_GOOD,// Cut From - To 
100, 150000, // Price From - To 
2, 20, //Page, Results in page 
ref DiamondCount);


>> add a comment
Haresh Malavia
02/28/2012 03:34


7 Replies:

  use HTTPS in the service url
https://technet.rapaport.com/WebServices/RetailFeed/RetailFeed.asmx


>> add a comment
Ephraim
2/28/2012 3:40:00 AM
hi

i has change  change link after create this error


Server was unable to process request. ---> You are not authenticated for RapNet InventoryLink web service.


access this services others userid  and password 


>> add a comment
Haresh
2/28/2012 3:52:00 AM
hi

i already register Rapnet with RDR ( Manazine ) + RapNet Inventory Link Pro/Plus
before 2 days

>> add a comment
Haresh
2/28/2012 4:05:00 AM
that means that you are not permitted to use that service. please call our customer service if you want to purchase the RapNet InventoryLink service. more details can be found here http://www.rapnet.com/inventorylink/detailedInfo.aspx


>> add a comment
Ephraim
2/28/2012 4:10:00 AM
can you provide me your company name?


>> add a comment
Ephraim
2/28/2012 4:13:00 AM
Hi

J.B And Brothers





>> add a comment
Haresh
2/28/2012 4:16:00 AM
according to our records you dont have the RapNet Inventory Link  service. please call our customer service to sort it out


>> add a comment
Ephraim
2/28/2012 4:22:00 AM