简体   繁体   中英

C# VS2012 Betfair web reference to wsdl

I am trying to connect to the betfair API using this address:

https://api.betfair.com/global/v3/BFGlobalService.wsdl

I have successfully done this for another gambling exchange with no problem at all.

When I try and add the web reference VS tells me it is not found. When I put it in a browser, same thing (logged in or not logged in to betfair).

Can anyone tell me what I'm doing wrong?! Thanks

UPDATE: I downloaded some sample code. I can see the web reference in VS, if I click on update I get the same message as when i try to add one myself (HTTP 401: Gone)

The wsdl interface is no more, as of a year or so ago. Try the json interface now available from their API-NG. Overview here and cSharp sample code here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM