Project Description
Discoverter is a small tool to ease the creation of Sharepoint 2007/WSS 3.0 or Sharepoint 2010 Web Services. It converts .disco and .wsdl files created through disco.exe into disco.aspx and wsdl.aspx files ready to be dropped into 12\ISAPI (or 14\ISAPI).

If you want to write a Web Service that runs on Windows SharePoint Services 3.0 (WSSv3) or Microsoft Office SharePoint Server 2007 (MOSS2007), you need to modify the .disco and .wsdl files for the web service.

Discoverter does this conversion step automatically, generating the aspx files that Sharepoint expects. To create a new Web Service:
  1. Develop your .asmx normally in Visual Studio and run them in the development web server. (You need to create all the methods, but you don't have to write any code in them yet. Only the method signatures are important)
  2. Use the disco.exe tool to generate .wsdl/.disco files:
    1. disco http://localhost:1234/yourservice/YourService.asmx
    2. This will generate YourService.wsdl and YourService.disco
  3. Start Discoverter and enter the generated .wsdl and .disco file, select an output directory.
  4. Discoverter will now create YourServicewsdl.aspx and YourServicedisco.aspx in the selected output directory.
    1. WARNING: Should these 2 files already exist, they are overwritten!
  5. Copy your .asmx and the 2 generated .aspx to Sharepoint's ISAPI dir:
    1. C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\ISAPI
  6. Reset the application pool (Use IISAPP, or IISRESET /NOFORCE)
  7. Try to open YourService.asmx in a Browser:
    1. http://YourSharePoint/vtibin/YourService.asmx
  8. (Hopefully) make a note here: Huge Success!

Last edited Dec 12, 2008 at 10:13 PM by michaelstum, version 3