Rate this page:

Microsoft .NET client


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):

    wsdl /l:CS /protocol:SOAP http://localhost:8080/crowd/services/SecurityServer?wsdl

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

  3. Compile the generated class with the following references:

    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: