AmosFiveSix.com

Experience, Knowledge, Creativity

  • Increase font size
  • Default font size
  • Decrease font size
Home Blog .Net Programmatically Updating Web References in .Net

Programmatically Updating Web References in .Net

E-mail Print PDF

How do I automatically update a web reference at build time?
http://stackoverflow.com/questions/159599/how-do-i-automatically-update-a-web-reference-at-build-time

.NET Web Services II... on DotNetJohn
http://www.dotnetjohn.com/articles.aspx?articleid=85

CmdHelper -  Generating the WSDL from a web service assembly (without the need to start a web server for that)
http://www.stephan-brenner.com/?page_id=82

Automatic updating web reference .NET
http://blogs.microsoft.co.il/blogs/oshvartz/archive/2008/05/24/automatic-updating-web-reference-net.aspx

Building a Better WSDL.EXE
http://sites.google.com/site/craigandera/craigs-stuff/xml-web-services/building-a-better-wsdl-exe

Generate proxy code for a web service dynamically
http://blogs.msdn.com/b/dhrubach/archive/2008/10/20/8623711.aspx

In Visual Studio, the Update Web Reference command in a Web Site "project" creates:
* ServiceName.disco
* ServiceName.wsdl
* ServiceName.discomap
* It does not create a CS file at this point

In Visual Studio, the Update a Web Reference command in other project types creates:
* ServiceName.disco
* ServiceName.wsdl
* Reference.map (same file type as .discomap)
* Reference.cs

Web Services Discovery Tool (Disco.exe) - http://msdn.microsoft.com/en-us/library/cy2a3ybs%28v=vs.80%29.aspx
  You pass it a URL and it creates these files:
  * ServiceName.wsdl
  * ServiceName.disco
  * results.discomap
  * It can create an XSD file also, but I don't have an example of this to work from ;-(

Web Services Description Language Tool (Wsdl.exe) - http://msdn.microsoft.com/en-us/library/7h3ystb6%28v=vs.80%29.aspx
  You pass it the path to a .disco file and it creates:
  * WhateverWeTellIt.cs