WSDL (Web Services Description Language) Question:

Download Job Interview Questions and Answers PDF

What do we need to deploy a web service?

WSDL Interview Question
WSDL Interview Question

Answer:

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]

Download WSDL Interview Questions And Answers PDF

Previous QuestionNext Question
How you define Binding in WSDL?What is the meaning of semantic cannotations?