Question:
How to use authentication for my Webservice?
Answer:
The use of basic authentication for a Webservice is a new feature included in DocuWare 7.1 for the first time.
To use this function follow these steps:
- Download the project from GitHub: Workflow-Webservice-BasicAuth
- Get the BasicAuthHttpModule.cs and set the username and password in the CheckPassword method:
- Copy the class to your project and build it
- Host it on your server and use "Anonymous Authentication" in IIS:
- Register the Webservice in the DocuWare configuration and use the username and password set in step 2 for authentication: