question

herbert1180 avatar image
0 Likes"
herbert1180 asked

.Net Sample GetEbayTime via WSDL misses class eBayAPIIinterfaceService

Sample at http://developer.ebay.com/devzone/xml/docs/howto/FirstCall/MakingCallCSharp.html does not compile - class missing. Using VS.2013, .NET 4.6.1: after adding service reference to http://developer.ebay.com/webservices/latest/ebaySvc.wsdl there is no class eBayAPIInterfaceService generated in the proxy. There is a class eBayAPIInterfaceClient. When using this leads to missing RequesterCredentials ... The tutorial is wrong in the line "using TesteBaySoap405.com.ebay; // use your project name here" this is not the project name per se, it is the namespace chain of the web service proxy. Step 1 should include a hint/screenshot about renaming web services in the Add Web Service dialoge. Also: Does the line string version = "405"; need to get a newer version number? please advice how to make this sample work.
.net sample.net getebaytime tutorialmakingcallcsharp
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
rikzg avatar image
0 Likes"
rikzg answered
Hi Herbert, did you develop an c# Windows 8.1 Store app (metro app) ? In that case the problem is, that you can't add an web reference. Like in the tutorial but it's needed to make this call. (by the way I have the same problem and try to find a way to get it work) You are right, with the string Version! I use the api test tool to find out the latest version. https://developer.ebay.com/DevZone/build-test/test-tool/ I use the 933 version to make a call.
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.