BWS with VisualStudio and C#
Here comes a sample of how you can access the BioID Web Service (BWS) from a VisualStudio project in C#.
Add a Service Reference (NOT a Web Reference) to the project from which you want to access the BWS
- Enter the address https://bws.bioid.com/BioIDWebService.svc?singleWsdl and click Go
- Select the IBioIDWebService service contract
- Use a namespace like BWSor whatever you prefer
- Click OK to create the required files (Service References/BWS/Reference.csandapp.config/web.config)
You should now open your app.config or web.config (depends on the type of project you are currently working on) and review the generated settings. Especially ensure that the address of the endpoint is set to the BWS Server Host you want to talk to, e.g. https://bws.bioid.com/BioIDWebService.svc (You can also apply other settings according to the sample configuration file ).
That's it. Here is some sample code showing how to use the BWS:
Please also refer to the description of the BWS Web API.