Skip to content

Instantly share code, notes, and snippets.

@chrisntr
Created October 3, 2011 22:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisntr/7bcf3badb1a673c75a15 to your computer and use it in GitHub Desktop.
Save chrisntr/7bcf3badb1a673c75a15 to your computer and use it in GitHub Desktop.
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