Web Services Interview Questions for Experienced in C# - 1

Question: 1

Describe the services that UDDI provides to Web applications?

UDDI provides the following types of services to a Web application:

XML Schema for business description – Includes information about the service publisher (contact name, address, and so on) and specifications on the Web service.

Web registry of Web services – Includes business, service, and binding information for the Web service.

Question: 2

Which property of the Web Method attribute allows you to maintain the state of objects across sessions in a Web method?

The Web Method attribute’s Enable Session property enables you to enable session state for a Web method.

Question: 3

What steps do you need to perform to enable transactions in a Web method?

Perform the following steps to allow transactions in a web method

Add the System. Enterprise Services.dll file reference using solution explorer

Import the System. Enterprise Services namespace into the XML web service application

Set the Transaction Option property to an appropriate value

Question: 4

What advantage UDDI has over DISCO?

The UDDI directory has an advantage over a DISCO file, as it provides a single location where a client can find the Web services offered by different organizations.

Question: 5

Which tool installs the DLL on your local computer and installs the Windows service in a transactional manner?

The Installutil.exe tool.

Related Questions