Procedures
Triggers
Variables
Joins
Main Page
To consume a existing webservice follow these steps.(For CSharp programmers)
  • set path in command prompt to your dotnet framework folder & SDK's bin folder. As simple example is shown here
    path = %path%;C:\Program Files\Microsoft.NET\SDK\v1.1\Bin;C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322;
    
  • Use the WSDL tool to generate proxy for all the webservice pages to be consumed. A simple example is as below:
    					 wsdl http://localhost/TA/services/ActionOnCard.asmx?WSDL
    					 wsdl http://localhost/TA/services/Template.asmx?WSDL
    					 
  • Now you will get a consuming proxy class for each webservice file from there. eg:
    					 ActionOnCard.CS
    					 Template.CS
    					 
  • Compile those proxy class files into a library file. for eg:
    csc /r:system.web.serviceS.dll /r:system.xml.dll /t:library /out:bin\Arun.Services.dll  ActionOnCard.cs Template.cs
  • You have got the webservices within a dll file. Consider as if you are using your own dll file and design your project.
  • Everytime the code gets executed, it will get the business logic or whatever is stored in the webservice from there.

Its simple. Isn't it?

Hosted by www.Geocities.ws

1