This page last changed on Nov 11, 2007 by smaddox.

An updated version of this library has been made available through the Atlassian Codegeist competition.

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 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.

Related Topics  

Crowd Documentation  


Crowd.Integration.Sample.cs (application/octet-stream)
Document generated by Confluence on Jul 30, 2009 01:30