This page last changed on Feb 25, 2007 by justen.stepka@atlassian.com.

You will need to create a .NET proxy to the SOAP API, as follows:

  1. Open a Microsoft Visual Studio .NET Command Prompt.
  1. 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)

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


Crowd.Integration.Sample.cs (application/octet-stream)
Document generated by Confluence on Mar 08, 2007 18:50