-
-
Save chrisntr/7bcf3badb1a673c75a15 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using TestProjectDeaklerinfo; | |
using TestProjectDeaklerinfo.DealerInfo; | |
namespace WebServicesTest | |
{ | |
class MainClass | |
{ | |
public static void Main (string[] args) | |
{ | |
Console.WriteLine ("Hello World!"); | |
var response = GetDealerInfo("ACC1", "AAA", "AAA"); | |
} | |
private static string GetDealerInfo(string bedrijfscode, string dealercode, string wachtwoord) | |
{ | |
WSVDealerInfoServicesService webservice = new WSVDealerInfoServicesService(); | |
WSVDealerInfoInput webservice_i = new WSVDealerInfoInput(); | |
webservice_i.WSVBedrijfscode = bedrijfscode; | |
webservice_i.WSVDealercode = dealercode; | |
webservice_i.WSVWachtwoord = wachtwoord; | |
WSVDealerInfoResult webservice_r = new WSVDealerInfoResult(); | |
webservice_r = webservice.wsvdealerinfo(webservice_i); | |
return webservice_r.WSVDealerinfo + webservice_r.WSVFoutmelding; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment