Archive for the ‘WebService’ Category
Consume WCF Service
Hello all
Today I will show how to consume a WCF service. To go through this before, I have created a WCF service [ Creating WCF Service ] , which I will consume for my project in this article. Consuming WCF Service is as simple as consuming a simple webservice through Visual Studio 2008.
First I am taking an empty Web project named ConsumedWCF.
Now I will add a service reference which I have created before [ Creating WCF Service ] in this ConsumedWCF project as...
Creating WCF Service
Hello all
Today I will try to demonstrate how to create simple web service through WCF. To get into WCF first we have to know some basic principal of WCF and its "ABC".
Address : the location of the service.
Bind: how to get service.
Contract: service action.
In this tutorial I will not describe details about WCF.My basic focus will be on creating a WCF service through Visual Studio 2008
First open a new WCF project:
In my sample project I have named "TestWCFService"...
Web service creation & consuming with ASP.NET
Hello all
Today I will show how to create web service with VS2008 and consume it in different application. first I have opened a web service from File>New web site > web service named "DemoWebService".
now in the solution explorer we can a Service.asmx file and the Service.cs file in App_Code . I have added another web service named WebServiceTest.asmx so a WebServiceTest.cs file also added in App_Code folder.
we will basically work with *.cs...