Test the BWS accessibility with PowerShell
The BWS client certificate can be tested with a simple command line request in Windows Powershell. The commandlet Invoke-WebRequest allows to send a POST request to the web service endpoint via HTTPS. You may need to install the Windows Management Framework 3.0 if you have an older Version of the Windows Power Shell to use Invoke-WebRequest. You can check if the commandlet is already installed with the command get-command Invoke-Webrequest.
First install the certificate on your development workstation. You can check if the certificate is installed with following command using the thumbprint of the certificate:
Next you have to prepare a SOAP envelope filestatus.xml
to POST to the BioID Web Service. This is a simple ASCII text file with the following content:
Accessing the BioID Web Service
Now you can invoke the SOAP request with the envelope file.
If the parameter -OutFile is used (e.g.-OutFile foo.xml) then the output will be saved as a XML file.OutputIf everything worked well you'll get an output similar to
If the certificate with the thumbprint used in the request is not installed on the local Workstation then the output will be similar to
The certificate is a valid client certificate but not registered at the BioID Web Service:
The client certificate is invalid, e.g. expired: