Last updated Mar 21, 2022

Microsoft .NET client

SOAP API is no longer available

SOAP API has been removed in Crowd 5.0. For information on how to migrate to REST API, see Crowd SOAP to REST migration guide.

You will need to create a .NET proxy to the SOAP API, as follows:
  1. Open a Microsoft Visual Studio .NET Command Prompt.
  2. Run the following command to generate a proxy class (change the location of the WSDL according to your installation):
1
2
wsdl /l:CS /protocol:SOAP http://localhost:8080/crowd/services/SecurityServer?wsdl

(Note: Ignore any schema validation warnings returned here.)

  1. Compile the generated class with the following references:
1
2
csc /t:library /r:System.Web.Services.dll /r:System.Xml.dll SecurityServer.cs

This should generate a .NET assembly called SecurityServer.DLL.

When creating your .NET client application, remember to add a reference to this proxy. You will also need to add a reference to System.Web.Services.DLL.

The CROWD:sample code calls methods from the proxy to perform authentication in a sample Crowd application. Change the constants at the top of the code relevant to any application you have previously set up in Crowd.

Crowd Documentation

Rate this page: