Skip to main content
I created a K2Studio Solution in code via Interop in VS.NET 2005

Now I want to add a reference to my Web Service in code. I looked already in help files and forums, and the only thing I found was this example:

MyK2Project.References.Add("System.XML.dll", "", True)

How do I programmatically add a web service reference in code?
Web References are added by creating a Proxy Assembly and referencing this in the usual way. A Proxy Assembly can be generated with the WSDL command. Please see the following post:

http://www.codeproject.com/cs/webservices/CallWebServicesDynamic.asp

Reply