CSharp 411

Back to Cdyne 411

Consuming a Web Service with C#
For this example we use Cdyne 411. All of the other Web Services are just as easy to consume.

1. Open a new/existing project. 2. Right click "Add Web Reference" in the Solution Explorer on the Project you wish to add the service to. 3. Put the WSDL that you wish to consume in the URL block. (ex: http://ws.cdyne.com/cdyne411ws20/Default.asmx?wsdl) 4. Change "Web Reference Name" to something more usable, like Cdyne411ws.

Use code like the following:

Reverse Phone Lookup or

Phone Append