⟩ What do we need to deploy a web service?
At the command prompt:
WSDL http://ip address ofthe site/WebService/MathService.asmx /n:NameSp /out:FileName.cs]
-This will create a file called FileNmame.cs .
WSDL -> WebServices Description Language (This is an application available at C:Program
FilesMicrosoft.NETFrameworkSDKBin)
NameSp -> Name of the NameSpace which will be used in client code for deploying the
webservice.
2.Compilation
CSC /t:library /r:system.web.dll /r:system.xml.dll CreatedFile.cs
This will create a dll with the name of the public class of the asmx file.( In our case, it
is AddNumbers.dll )
CSC is an application available at C:WINNTMicrosoft.NETFrameworkv1.0.2914
3.Put the dll file inside WWWRooTBIN [Create a BIN Folder in WWWRoot]