By Nishant Kumar
.Net XML Web Service Interview Questions
What is XML Web Server?
| Describe the
Components that help locate and consume XML Web Service. |
Describe the process of
communication between Client and Web Service. | What
are the components published while deploying of Web Service? |
Describe .disco file. | Describe
the step to be followed to access web service by client.
Answer - Web services exposes functionality over internet using
protocol such as.....
Answer - UDDI, Universal description, discovery and
integration.....
What
are the steps to get a proxy object of a web service at the client side?
Answer - Following are the steps to get a proxy object of a web
service at the client side......
What is XML Web Server?
Web Server is a program components that allows us to develop loosely
coupled and platform independent application. It enables distributed
applications to exchange messages using protocol like HTTP, XML, and SOAP.
Since it uses XML based messaging, it enables heterogeneous applications to
interoperate with each other.
Describe the Components that help locate and
consume XML Web Service.
Directories
This is the place to store published information about the Web Services. The
UDDI specifications define guidelines for publishing information about the Web
Services. Microsoft provides directory service which is located at
http://uddi.microsoft.com.
Discovery
Using Discovery process, the client can know the location of Web
Service. Client can locate documents that describe Web Service using WSDL.
Description
This component allows client know what operations to perform on an XML Web
service.
Wire Formats
XML Web Service uses Wire Formats protocol to enable heterogeneous
applications to interoperate. This protocol can be understood by any system who
knows standard protocol like HTTP and SOAP.
Describe the process of communication between
Client and Web Service.
To communicate with Web Service, Client application creates an object of Web
Service Proxy Class. The proxy object provides access to all methods and
properties of Web Service to client. The client calls a method on the proxy
object. The Web Service infrastructure serializes the method call and arguments
into the SOAP message and sends to web service. The web service executes the
method and returns the value which gets serialized and send over network. The
message then received by client infrastucture, deserializes it and sends to the
proxy object. The proxy object returns the value to the client application.
What are the components published
while deploying of Web Service?
Web Application Directory
<WebService>.asmx file
<WebService>.disco file
Web.Config file
\Bin directory
Describe .disco file.
It is discovery document that contains links of
resourses that describes web service and its location. It is written
in WSDL and describes the capability of web service.
Describe the step to be followed to access web
service by client.
Add a web reference to the web service in the client application,
Generate a proxy class,
Create an object of the proxy class,
Access the Web service by using a proxy object.
Related interview questions
>NET
Access Modifiers: FAQ
>Net
Architecture: FAQ
>NET
Assemblies and Resources: FAQ
>NET
Base class library: FAQ
>NET
Binding, viewing, filtering: FAQ
>NET
Class and Structures: FAQ
>NET
Common Language Runtime: FAQ
>NET
Configuring and optimizing: FAQ
>NET
Configuring setup project: FAQ
>NET
Constants, Enum, Arrays, collection: FAQ
>NET
Constructors and destructors: FAQ
>NET Control:
FAQ
>NET
Dataset objects: FAQ
>NET
Data Types: FAQ
>NET
Debugging Tools: FAQ
>NET
Debug and trace classes: FAQ
>NET
Delegates and events: FAQ
>NET
Exception handling: FAQ
>NET Form: FAQ
>NET
Garbage collection: FAQ
>NET
Globalization and localization: FAQ
>NET
Interoperability: FAQ
>NET Menu: FAQ
>NET
Project Deployment: FAQ
>NET
Properties: FAQ
>NET
Securing Application: FAQ
>NET
Using XML in ADO.NET: FAQ
>NET
Validating User Input: FAQ
>NET
Windows communication foundation: FAQ
>Net
Windows presentation foundation: FAQ
>Net
Windows workflow foundation: FAQ
Define Exception handling in ASP.NET. | What are the ways of
handling exceptions in ASP.NET? | Explain Try/catch block method of exception
handling. | Define Error Events. Define Custom Error Pages. | Why is exception
handling important to an application? | When can you use tracing with exception
handling?
What is Master Page in ASP.NET? | Advantages of using Master
Page in ASP.NET | Define Multiple Master Page. | How do you create Master Page?
Define state management in ASP.NET. | Define Client-side
state management and Server-side state management.