Views:

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:

  1. Download the project from GitHub: Workflow-Webservice-BasicAuth


     
  2. Get the BasicAuthHttpModule.cs and set the username and password in the CheckPassword method: 
  3. Copy the class to your project and build it
  4. Host it on your server and use "Anonymous Authentication" in IIS: 
  5. Register the Webservice in the DocuWare configuration and use the username and password set in step 2 for authentication: