WebService Client in C#

1. Create WebService Proxy Class - Source

wsdl.exe /l:CS /protocol:SOAP <Path_To_WSDL_Description>

Note: I found wsdl.exe at C:\Programme\Microsoft Visual Studio 8\SDK\v2.0\Bin

This will create a WSDLService.cs source file.

2. Compile WebService Proxy Class

csc /t:library /r:System.Web.Services.dll /r:System.Xml.dll WSDLService.cs

Note: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc.exe

This will create a WSDLService.dll file

3. Integrate the dll in your project

programming/webservices/c_sharp.txt · Zuletzt geändert: 2011/07/22 23:26 (Externe Bearbeitung)
 
Falls nicht anders bezeichnet, ist der Inhalt dieses Wikis unter der folgenden Lizenz veröffentlicht: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki