User's Manual

Configuring HTTP Basic Authentication
Performing a simple API call, such as the Ping” operation described in "Operations" on page 398, can be used
to verify that the Web service is correctly configured and ready for use.
Because the SOAP API requires HTTP Basic authentication, ensure that you have a suitable operator profile and
operator login credentials, as explained in"Using the SOAPAPI" on page 388.
Configuring the Web service reference to use authentication requires editing the app.config file to make two
changes:
l The mode attribute of the <security> tag must be changed to TransportCredentialOnly.
l The clientCredentialType attribute of the <transport> tag must be changed to Basic.
The updated app.config file is shown below, with the appropriate changes highlighted.
Performing an API Call
This section outlines the C# code required to use the Web service.
First, add a using declaration for the namespace containing the Web services:
using SoapGuestManager.GuestManager;
Dell Networking W-ClearPass Guest 6.4 | User Guide Administration | 393