Top 50 Web Services Interview Questions
Q1. What Is Presentation Layer Responsible For In The Osi Model?
The presentation layer establishes the facts format previous to passing it alongside to the community utility’s interface. TCP/IP networks carry out this assignment at the application layer.
Q2. Which Class In .Internet Is Used To Install A Windows Service?
The ServiceInstaller class, additionally known as the task installer magnificence, is used to install a Windows provider.
Q3. What Is The Transport Protocol You Use To Call A Web Service Soap ?
HTTP with SOAP
Q4. How To Install Our Web Application In Iis Web Server?
There are distinctive way to install the net software in internet server like:
X Copy deployment.
Create setup bundle and deploy the server machine.
Use the deployment gear and configure the server repository and drag and drop all documents in your gadget to virtual folder of server system.
Q5. What Is .Internet Web Service?
• Web carrier is the manner to submit utility's feature on net that may be reachable to the relaxation of the arena.
• Web services are the components that can be used by different applications
• ASP.NET gives smooth way to broaden web offerings, just precede the features with a unique WebMethod ()> characteristic in order them to work as Web Service.
• Web offerings are discovered the usage of UDDI directory services.
• Web services are constructed on XML wellknown and use SOAP protocol that permits them to speak across special structures and programming languages.
• Web offerings without problems manipulate to paintings across corporate firewalls as they use HTTP protocol that's firewall friendly.
• Web offerings platform factors are
SOAP (Simple Object Access Protocol)
UDDI (Universal Description, Discovery and Integration)
WSDL (Web Services Description Language)
• The net offerings are built on internet standards that aren't platform or language particular.
• The .Net framework gives in-built classes to build and eat internet offerings.
• The additives offered with the aid of net services are reusable.
• The examples of web service additives can be shipment tracking, translation application, climate forecasting, sports activities scores and so on.
Q6. Advantages Of The Distributed Components?
• The key gain of having distributed additives is they unfold out the weight over special machines.
• The additives may be upgraded with out disturbing the customers code.
• The distributed software improves security. For instance, a enterprise who has many marketers wouldn’t like the ones sellers to have direct get right of entry to to its database. Instead, these marketers can be granted get entry to to the additives strolling at the company server which may be controlled and restricted.
Q7. Write The Names Of Public Properties Defined In The Webservice Class?
There are many properties defined within the WebServices elegance:
• Application - Obtains the utility item for the modern-day HTTP request.
• Context - Obtains the HttpContext item for the cutting-edge request, which encapsulates all HTTP-precise context used by the HTTP server to manner Web requests.
• Server - Obtains the HttpServerUtility item for the current request.
• Session - Obtains the HttpSessionState item for the current request.
• SoapVersion - Obtains the version of the SOAP protocol used to make the SOAP request to a Web provider.
• User - Obtains the Server User Object. This belongings may be used to authenticate whether or not a person is allowed to execute the request.
Q8. What Is A Web Browser?
A web browser is a software software for viewing webpages. Microsoft Internet Explorer, Mozilla FireFox, Opera, and Apple Safari are the maximum commonplace net browsers.
Q9. What Attracted You To The Web Services Field?
Web services is at its center software program that may be accessed on-line that makes use of an XML messaging machine, which encodes the communications in internet offerings.
Q10. What Is Cross-web site Scripting?
An attack method that forces a web website to echo customer-supplied records, which execute in a customers net browser. When a consumer is Cross-Site Scripted, the attacker may have access to all internet browser content (cookies, history, software model, and many others). XSS attacks do now not usually immediately goal the net server or utility, but are rather aimed toward the purchaser. The net server is simply used as a conduit for the XSS information to be presented to the give up consumer.
Q11. How Do I Upload My Site?
The principal approach of importing files in your web page’s account is with the aid of using FTP. When you sign up with a bunch, you'll likely get an FTP account that helps you to get admission to documents for your account (usually ftp.Yoursitename.Com, your foremost account name and password). Then you could use a integrated Windows or Internet Explorer FTP customer, or a few other software that helps FTP together with CuteFTP. WS_FTP, or Total Commander, to switch files out of your difficult drive on your account. If you don’t get an FTP account or in case you decide on a Web interface, you can use your account control panel’s File Manager as an alternative.
Q12. For The Document Of Size I Nib, What Size Would You Expect The Index To Be With Indexing Service?
150-three hundred KB, 15-30% is a reasonable expectation.
Q13. Explain The Services Provided By Uddi To Web Applications?
The following types of offerings are furnished to web programs:
• XML schema for the descriptions of business consists of specs and service publisher on web service.
• Web registry of net offerings encompass provider, commercial enterprise and binding records for internet provider.
Q14. What Does The Porttype Element Of A Wsdl Document Contain?
The portType detail incorporates the operations uncovered by way of the Web provider, and the messages involved within the communication between the Web provider and its purchasers.
Q15. What Are The Properties Of Application Pool In Iis?
The residences of application Pool in IIS is:
Recycling
Performance
Health
Identity
Q16. Define Wsdl?
The full shape of WSDL is Web Services Description Language which represents a layer inside the protocol stack of net service. Data sorts for all XML messages are contained in WSDL and the statistics about all XML messages are furnished in it. Address facts of finding offerings is given by means of WSDL.
Q17. Testing And Consuming A .Internet Web Service?
Testing a Web Service
.NET has a test net web page that ASP.NET makes use of mechanically while you request the URL of an .Asmx file in a browser. This page makes use of mirrored image to study and display records about the internet services, such as the names of the techniques it provides.
Consuming a Web Service
Web offerings are built on XML popular. So, a purchaser wishes to equip itself to understand XML-based message that allows you to change messages. The .Net framework presents proxy aspect that enable customers to interact with internet services. The proxy has all vital statistics that can be used by the purchaser software to proportion information with net offerings.
Q18. What Is The Use Of The Mustunderstand Attribute In The Header Element Of A Soap Message?
The mustUnderstand characteristic suggests that a header entry is both required or non-compulsory for the recipient to manner in addition.
Q19. What Is A Safer Web Browser?
A safer browser has the following traits:
Latest model.
Automatic software program patches and enhancements.
Anti-phishing functionality to notify you when you attempt to get right of entry to a suspected faux website.
128-bit encryption that protects facts for the duration of transmission.
Q20. What Is The Relation Between Ssl And Tls?
Transport Layer Security (TLS) extends SSL by way of offering cryptographic authentication.
Q21. Does Windows Server 2003 Support Ipv6?
Yes, run ipv6.Exe from command line to disable it.
Q22. Can I Run My Own Software On My Site?
This depends on an internet host and a plan. Most plans will permit going for walks scripts in languages along with Perl or PHP. Some plans may even permit you to collect application in C/C++ and run them. Some Unix plans will even can help you run “cron” which enables you to robotically execute programs or scripts at a particular time and date. However to get a complete manage over all factors of your server, you'll want a devoted or co-located server instead of a shared plan.
Q23. What Is The Difference Between The Basic Disk And Dynamic Disk?
The primary type includes partitions, prolonged partitions, logical drivers, and an assortment of static volumes.
The dynamic kind does no longer use walls but dynamically manages volumes and affords advanced garage options.
Q24. Define Web Service?
Web provider is like software program which makes it available at the net. The regular XML messaging gadget is utilized by net services. To use an internet provider, a message is invoked by means of the client, and a request is despatched to the server in XML layout and a reaction is given to the client in XML document format via the server. Web services are not dependent on the platform and any application can access it that is developed in any programming language.
Q25. Explain Jaxm Messaging Models?
JAXM messaging fashions has two types of messaging model, synchronous and asynchronous.
Synchronous messaging model:
In this form of version, purchaser immediately interacts with the supply. The consumer sends a request and waits for the response.
Asynchronous messaging version:
In this model, purchaser sends message to the messaging issuer and returns again. Messaging provider then performs the routing of message to the give up source.
Q26. Define Uddi, Disco And Wsdl?
UDDI, Universal description, discovery and integration:
It is the listing this is used to post and discover public web offerings.
DISCO, Discovery:
generally referred to as Discovery. Discovery golf equipment collectively commonplace offerings and exposes schema file of the net offerings.
WSDL, Web Service description language:
This is used to explain web services. The description consists of
URL of internet offerings
Method and houses supported through net services
Data type it supports.
Protocol element it helps.
Q27. What Are The Steps To Get A Proxy Object Of A Web Service At The Client Side?
Following are the stairs to get a proxy object of a web service on the purchaser side.
Access UDDI node for a list of internet offerings.
Services for that reason answered by way of UDDI have URL pointing to DISCO or WSDL report.
Parse DISCO and WSDL report and build a proxy item that can speak with the internet carrier.
Q28. What Is The Difference Between Xml Web Services Using Asmx And .Internet Remoting Using Soap?
• XML Web offerings are greater limited than items uncovered over .NET Remoting.
• XML Web services help open requirements that concentrate on cross-platform use.
• XML Web offerings are normally easier to create and because of the confined nature of XML Web services, the layout problems are simplified.
• XML Web services guide only SOAP message formatting, which uses larger XML textual content messages.
• Communication with .NET Remoting may be faster than XML Web service communique with a binary formatter.
• XML Web services are designed for use between groups and organizations.
• XML Web services don't require a devoted website hosting program because they're always hosted by way of ASP.NET.
• Consumers can use XML Web offerings simply as effortlessly as they could download HTML pages from the Internet. Thus there is no need for an administrator to open additional ports on a firewall as they work through MS-IIS and ASP.NET
Q29. What Is Uptime?
Uptime is the proportion of time that an internet website is running. For example, if some host has an uptime common of 99.86%, because of this your web site may be down for a total about 1 hour every month, We display uptime of patron web sites of many net hosts and we show this statistics on the hosts information web page. Some hosts additionally offer “uptime ensures” however this isn't as treasured as it would appear.
Q30. How Many Times Are Working In Iis Server?
24 Hours.
Q31. Give Me The Advantages Of Web Services Over Com And Dcom?
The following are the benefits of web offerings over COM and DCOM:
• It is straightforward and clean to use net offerings and it's far implemented on specific systems.
• The web services are loosely coupled and their methods and interfaces can be prolonged.
• Stat records isn't always carried by way of internet services so that severa requests are processed simultaneously.
Q32. What Is Plug-in?
In web browsers, a plug-in (also referred to as plugin, addin, upload-in, addon, add-on, snap-in or snapin) consists of a computer software that interacts with a bunch software (a web browser or an e mail customer, as an instance) to offer a sure, normally very particular, characteristic “on demand”. Add-on is regularly considered the general time period comprising plug-ins, extensions, and topics as subcategories.
Q33. How Do I Get Started With Web Services?
The easiest manner to get commenced with Web offerings is to research XML-RPC. Check out the XML-RPC specification or study my e-book, Web Services Essentials. O'Reilly has also these days launched a e book on Programming Web Services with XML-RPC through Simon St.Laurent, Joe Johnston, and Edd Dumbill.
Once you have found out the fundamentals of XML-RPC, move onto SOAP, WSDL, and UDDI. These topics are also included in Web Services Essentials. For a complete treatment of SOAP, test out O'Reilly's Programming Web Services with SOAP, with the aid of Doug Tidwell, James Snell, and Pavel Kulchenko.
Q34. What Is Wsdl?
WSDL is the Web Service Description Language, and it is carried out as a specific XML vocabulary. While it’s very much greater complicated than what may be described right here, there are important elements to WSDL with which you need to be conscious. First, WSDL gives instructions to purchasers of Web Services to explain the layout and contents of the SOAP packets the Web Service intends to problem. It’s an interface description file, of types. And 2nd, it isn’t supposed which you read and interpret the WSDL. Rather, WSDL ought to be processed by system, commonly to generate proxy supply code (.NET) or create dynamic proxies at the fly (the SOAP Toolkit or Web Service Behavior).
Q35. What Are The Web Services In Asp.Internet?
A Web provider is a class that permits its techniques to be called through methods on different machines thru not unusual facts formats and protocols, which includes XML and HTTP. In .NET, the over-the-community approach calls are generally carried out through the Simple Object Access Protocol (SOAP), an XML-based protocol describing the way to mark up requests and responses so that they may be transferred via protocols which includes HTTP. Using SOAP, packages constitute and transmit facts in a standardized XML-based layout.
Q36. How Can You Prevent Your Web Services From Unauthorized Access?
The following are the methods to save you your Web provider from unauthorized get right of entry to:
• Using encryption and message-based safety.
• Using authentication and get entry to controls for the Web carrier.
Q37. What Is Domain Parking?
Domain parking lets you affordably reserve a website call for destiny use and display an “below production” default page on it. You can check in a domain and now not park it anywhere hut then your web page will sincerely be inaccessible until you get a web host. Some registrar let you park your domain at no cost.
Q38. Explain Webmethod Attribute In Asp.Net Web Service?
Attaching the WebMethod attribute to a Public technique suggests which you want the method exposed as a part of the XML Web provider. The WebMethod attribute tells .NET that a particular public approach ought to be uncovered as an internet-callable method. The WebMethod characteristic has six related properties to document and exchange the behavior of your web technique. They are:
Description
MessageName
EnableSession
CacheDuration
TransactionOption
BufferResponse
The first residences are used to record an internet method, at the same time as the others affect its conduct.
Q39. Explain About Opera (net Browser)?
Opera is an internet browser and Internet suite evolved by way of the Opera Software organisation. The browser handles not unusual Internet-related duties along with showing web websites, sending and receiving e-mail messages, managing contacts, chatting on IRC customers, downloading files thru BitTorrent, and analyzing Web feeds. Opera is offered free of fee for personal computer systems and cellular phones.
Q40. Mention The Name Of The Directory Where It Is Necessary To Locate The Proxy File To Use A Web Service?
The proxy document must be stored inside the /bin listing. This listing is located under the foundation directory of the application.
Q41. What Is Ssl (cozy Sockets Layer)?
SSL (Secure Sockets Layer) is a comfortable communications protocol utilized by browsers, websites, and applications to protect facts despatched over the net. SSL protocol uses encryption and authentication technology to make sure best the meant events can read the information.
Q42. What Is The Use Of Soap (simple Object Access Protocol) In .Internet Web Services?
The Simple Object Access Protocol (SOAP) is a platform-impartial protocol that uses XML to make faraway method calls.
Each request and response is packaged in a SOAP message containing the facts that a Web carrier calls for to method the message.
SOAP helps an extensive set of sorts just like the primitive sorts, DataSet, DateTime, XmlNode and others. SOAP can also transmit arrays of those kinds and gadgets of consumer-described kinds.
Q43. What Are Windows Services?
Windows services, formerly called NT services, are programs that are hooked up on the machine as device services. In other phrases, Windows services are packages that run in the historical past with the Windows running device. The primary use of Windows offerings is to lessen the consumption of reminiscence required for acting backend operations. Let's take an instance to apprehend this effortlessly. Suppose you need to perform a selection of capabilities, along with display the performance of your computer or utility, take a look at the repute of an utility, and manipulate various devices, which include printers.
In this type of case, you may use Windows offerings to reduce reminiscence consumption. In addition, Windows offerings can run on your device even when you have no longer logged on in your computer. In addition, these services do not have any consumer interface.
Q44. Explain In Brief Web Service Standards?
Following are the standards used by internet services:
WSDL
WSDL is used to create interface definition for an internet offerings. It describes all about techniques to the customer, i.E. Strategies to be had in a web provider, their parameters and return values.
SOAP
SOAP, Simple Object Access Protocol is a communication protocol, a way to shape records, based on XML. The internet services use SOAP message format to encode information before sending.
HTTP
The SOAP message layout in net services makes use of HTTP as communication protocol, i.E. SOAP messages are sent over HTTP channels.
DISCO
It is used to create discovery documents that provide links to more than one internet carrier endpoints. The DISCO general creates a single file that companies a listing of associated net offerings. A organization can post a DISCO document on its server that carries links to all of the internet offerings it gives.
UDDI
A general for creating commercial enterprise registries that catalog organizations, the net offerings they provide, and the corresponding URLs for their WSDL contracts.
Q45. Which Is The Fastest Web Browser?
Microsoft Internet Explorer normally has the fastest startup time on Microsoft Windows machines, despite the fact that that is often due to the fact the actual “charge” of starting it up is paid at some stage in the booting of your Microsoft Windows system, Opera is the quickest browser in terms of setting minimum demands on an older computer. Firefox is a very fast descendant of Mozilla, nicely-tuned for real-international browsing reviews, with an interface that quickens the way you get matters achieved in an internet browser by using imparting functions like tabbed browsing and a more fashionable “discover” characteristic --another relevant form of pace.
Q46. Explain In Brief Different Distributed Technologies?
The need of distributed technologies arises with the requirement of allotted computing programs. The allotted computing permits partitioning of software good judgment into devices and spreading the unit over extraordinary computer systems of a community or across different networks. This allows in spreading out masses over many computer systems. The components as soon as advanced may be reuse by different programs. There are many technologies evolved to allow the distribution and reuse of software common sense.
Q47. What Is Web Hosting?
Web website hosting is the act of renting space and bandwidth through a business enterprise so that you can also put up your internet web site online.
Q48. Which Step Is Necessary To Perform Before A Web Service Can Be Consumed?
It is important to build a proxy class by means of the usage of the wsdl.Exe software earlier than a Web carrier may be consumed.
Q49. What Is Xml-rpc?
XML-RPC is a protocol that uses XML messages to perform Remote Procedure Calls. Requests are encoded in XML and despatched via HTTP POST; XML responses are embedded within the body of the HTTP response. More succinctly, XML-RPC = HTTP + XML + Remote Procedure Calls. Because XML-RPC is platform impartial, numerous programs can speak with each other. For instance, a Java customer can talk XML-RPC to a Perl server.
To get a brief sense of XML-RPC, here is a pattern XML-RPC request to a weather service (with the HTTP Headers overlooked):
<?Xml version="1.0" encoding="ISO-8859-1"?>
<methodCall>
<methodName>weather.GetWeather</methodName>
<params>
<param><value>10016</value></param>
</params>
</methodCall>
The request consists of a easy element, which specifies the technique call (getWeather) and any method parameters (zip code).
Q50. Define The Specifications That Help In The Discovery Of A Web Service?
DISCO
DISCO, an abbreviation of discovery, is a record that agencies together a listing of associated web offerings. A enterprise that gives web services publishes a DISCO report on its server that has links of all the web offerings it gives. The customer requests this report to peer all the available internet services. This general is beneficial while customer already recognise about a company that gives web services. You can also use DISCO general even as running in local network. It isn't beneficial to locate all net services over the net.
UDDI
UDDI (Universal Description, Discovery, and Integration) gives centralized directory for web services over the net. It hosts net services from distinctive businesses and can be used by the customers to discover net offerings of their specific need. To make web offerings shared publicly, they have to be posted in UDDI.

