Web Services Interview Questions and Answers for Freshers and Experience Part-2
7. Describe the services that UDDI provides to Web applications.
UDDI provides the following types of services to a Web application:
XML Schema for business descriptions – 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
8. Write the file extension for a Web service.
A Web service file extension is .asm file. For example, service1.asmx is a Web service file.
9. Which method is used to uninstall the Windows services?
The Uninstall() method is used to uninstall the Windows services.
10. What is the use of the mustUnderstand attribute in the Header element of a SOAP message?
The mustUnderstand attribute indicates that a header entry is either required or optional for the recipient to process further.
11. Explain the WSDL.
WSDL is a short form for Web Services Description Language, which is used to describe a Web service in terms of the messages that it creates and accepts. The WSDL document is an XML file that contains the interface schema for the Web service. It identifies the methods that are used during the exchange between a Web service consumer and a Web service provider. The following are the elements contained in the WSDL document:
Types – Describe the variations of data types that are used to exchange messages between the user and the provider.
Message – Describes the actual message or method call.
portType – Describes the set of operations and each related message.
binding – Describes the protocol details.
service – Used to make groups a set of related ports together.
12. 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.