This is a little #C application that uses the simap Webserver / API to get data from the swiss public procurement platform SIMAP
For others of my generation who have the honor of working with soap and who have to generate classes through wsdl, this is how I managed to make it work:
Step 1: Use .NET (Java doesn't support wsdl anymore. To use this old feature you'd have to use and old sdk.)
Step 2: Create a new Windows Forms App (with the .Net Framework)
Step 3: Add a Reference, input your wsdl link
Step 4: Go to Advanced settings, Add Web Reference, input your wsdl link
The end result should look something like this:
Now you can create your client in your code and make the first calls
As of June 2024 The Simap API has been updated. This code wwill not work anymore-