﻿This solution is created using the following steps:

1: Make sure the client certificate is installed in the certificate store.
2: Create a new Console Application within Visual Studio
3: Add a new Service Reference: 
	a. Right-click 'References' in the Solution Explorer and select 'Add new Service reference'
	b. Enter in the address textbox the address to the B2B WSDL (in this example this was: https://a-b2b.gastransportservices.nl/AnalysisBalance.svc?wsdl)
	c: Click discover, Visual Studio will now make connection and download the WSDL.
	d: Enter a unique and understandable namespace (in this example B2B.AnalysisBalance)
	f: Click OK
4: Visual Studio will now create Proxy classes and code for connection to the webservice.
5: Create a subfolder called XSD
5: Create a subfolder called DataContracts
6. Download the XSD's from the gastransportservices website (https://www.gasunietransportservices.nl/uploads/fckconnector/67016cdd-d891-4bf3-8039-6d9a9d487ae2?rand=685)
7. Extract the XSD's to the new created subfolder XSD
8. Add the XSD's to the Solution
9. Use the XSD commandline tool to create a object class from an XSD. The GenerateClasses.bat in this solution shows an example of how to use the commandline tool
10. Add the created object classes in the DataContracts folder to the solution
11. Create the program logic within program.cs
12. Alter the app.config with the correct information