Top 100+ Web Services Interview Questions And Answers
Question 1. What Is Web Services?
Answer :
Web Services are the additives that offer functionality via internet, uses general protocol including HTTP. Web services use SOAP to reveal capability which is an XML-primarily based protocol that allows 2 disparate components to communicate. So internet offerings hosted on home windows platform can easily be consumed Linux and UNIX platform.
Question 2. What Are Smart Web Services?
Answer :
A clever web service understands the situational context and capable of sharing the context with other offerings. The end result of this internet service is primarily based at the needs like who, what, whilst, wherein it became referred to as.
The patron’s identification, function of a purchaser, protection rules, physical location of a purchaser, kind of client tool are a number of the variety of the situational situations of that a smart internet carrier is aware of.
Web Service Testing Interview Questions
Question 3. Explain Jaxr?
Answer :
JARX is a standard API that are used to get right of entry to XML registries (listing of services to be had at the net) from the JAVA platform. Client application can use JARX API to query the registries. It acts as a pluggable layer that allows get right of entry to to registries applied on exclusive standards which includes UDDI.
Question 4. Explain Jax-rpc?
Answer :
JAX-RPC uses SOAP to call far flung procedures. JAX-RPC allows JAX-RPC clients to invoke web services evolved across heterogeneous platform.
Web Service Testing Tutorial
Question 5. Define Uddi, Disco And Wsdl?
Answer :
UDDI, Universal description, discovery and integration:
It is the directory that is used to submit and find out public net offerings.
DISCO, Discovery:
typically known as Discovery. Discovery golf equipment together not unusual offerings and exposes schema document of the internet offerings.
WSDL, Web Service description language:
This is used to explain internet services. The description consists of
URL of internet offerings
Method and homes supported by web offerings
Data kind it supports.
Protocol detail it helps.
Java-Springs Interview Questions
Question 6. 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 an internet service on the consumer aspect.
Access UDDI node for a list of internet services.
Services as a result spoke back by means of UDDI have URL pointing to DISCO or WSDL file.
Parse DISCO and WSDL record and construct a proxy object that could speak with the net carrier.
Question 7. Explain Jaxm Messaging Models?
Answer :
JAXM messaging models has two sorts of messaging model, synchronous and asynchronous.
Synchronous messaging version:
In this form of model, patron at once interacts with the supply. The customer sends a request and waits for the response.
Asynchronous messaging version:
In this version, consumer sends message to the messaging issuer and returns lower back. Messaging company then plays the routing of message to the cease source.
Java-Springs Tutorial Java Struts Interview Questions
Question 8. What Is .Internet Web Service?
Answer :
• Web provider is the way to submit application's feature on internet that can be accessible to the rest of the sector.
• Web services are the additives that may be used by other applications
• ASP.NET offers smooth way to increase net offerings, just precede the features with a special WebMethod ()> characteristic so as them to paintings as Web Service.
• Web offerings are found the use of UDDI directory services.
• Web services are constructed on XML standard and use SOAP protocol that allows them to communicate throughout specific systems and programming languages.
• Web services easily manage to paintings throughout company firewalls as they use HTTP protocol that's firewall friendly.
• Web offerings platform elements are
SOAP (Simple Object Access Protocol)
UDDI (Universal Description, Discovery and Integration)
WSDL (Web Services Description Language)
• The net offerings are constructed on net standards that aren't platform or language unique.
• The .Net framework provides in-built training to construct and eat web offerings.
• The additives offered through net services are reusable.
• The examples of internet provider additives may be cargo tracking, translation software, climate forecasting, sports activities rankings and so on.
Question 9. Explain The Protocols A .Internet Web Service Uses?
Answer :
In .Net, a web carrier is bind with 3 different protocols such as HTTP/POST, HTTP/GET, and SOAP. This lets in consumer with 3 alternatives to pick for conversation. The protocols are covered in the WSDL record that is robotically generated in .NET.
Http-Get and Http-Post can handiest be used while name/value pairs of facts is dealt with. But whilst data is complicated in nature consisting of ASP.NET dataset, XML notes and so on, then we can use SOAP that serializes information in simpler form before sending.
Angular JS Interview Questions
Question 10. Explain When Do We Required Asp.Net Web Services?
Answer :
ASP.NET net offerings are the terrific manner to reveal your center tier additives thru internet. These components provide no trouble communicating throughout firewalls as they use SOAP as delivery protocols that transmit structured records the usage of HTTP channel. Thus, message can be without difficulty exchanged thru port eighty, i.E. Via internet facts port without being getting hampered by means of company firewalls or proxy server.
Web services can suit inside the scenario while we require integrating disparate structures written by using separate providers thru net.
Web offerings are typically getting used for B2B integration like authorizing personnel, supplier, electronically signing of invoice etc.
Bootstrap Tutorial
Question eleven. Why Do We Need .Net Web Services?
Answer :
We have some of heterogeneous technology to be had on net. The call for for reusable components throughout structures and programming languages are high. Most of the components have the trouble that they cannot percentage or alternate facts throughout one-of-a-kind systems, they're in general language specific or platform specific. The technology like COM, RMI, CORBA and many others. Contributed great to satisfy necessities to some extent, but components end result from these stated technology are generally both language specific or platform particular.
To keep away from above hassle, we want to have internet services. Through net services we've conquer the problem of interoperability between languages and platforms. Web services uses SOAP as delivery protocol which makes use of a text based messaging version, i.E. XML to speak between disparate systems.
Bootstrap Interview Questions
Question 12. Deploying A Web Service?
Answer :
Deploying the .Net Web Services is as easy as any ASP.NET application. Similar to ASP.NET applications, you want to replicate or add the .ASMX file and the .DISCO documents to the precise directories, and that is it.
Web Service Testing Interview Questions
Question 13. Explain In Brief Different Distributed Technologies?
Answer :
The need of disbursed technology arises with the requirement of allotted computing applications. The allotted computing allows partitioning of utility good judgment into units and spreading the unit over different computer systems of a community or across specific networks. This facilitates in spreading out masses over many computer systems. The additives once evolved can be reuse by way of other programs. There are many technology evolved to allow the distribution and reuse of utility logic.
Javascript Advanced Tutorial
Question 14. Advantages Of The Distributed Components?
Answer :
• The key advantage of having dispensed components is they spread out the load over one of a kind machines.
• The components can be upgraded without annoying the clients code.
• The allotted software improves protection. For example, a organisation who has many sellers wouldn’t like those marketers to have direct get admission to to its database. Instead, these retailers may be granted access to the additives strolling at the company server which may be controlled and restricted.
Question 15. Web Services Vs. Corba And Dcom?
Answer :
Web offerings
Web services use HTTP protocol for sending and receiving messages between the packages.
The information encoding in internet offerings is based on XML.
Web offerings are defined the use of WSDL (Web Services Description Language).
• Web offerings are found the usage of UDDI (Universal Description, Discovery and Integration).
• Web services are firewalls pleasant.
• Web offerings helps interoperability i.E. Go platform integration is feasible.
CORBA and DCOM
• These technology use non-wellknown protocol, i.E. CORBA makes use of IIOP (Inter Internet Object Protocol), and DCOM makes use of RPC (Remote Procedure Calls)
• CORBA additives are defined using CORBA Interface Description Language; DCOM components are described the use of Microsoft Interface definition languages
• CORBA additives are located the use of the CORBA registry, DCOM the use of the Registry.
• DCOM is a proprietary protocol that doesn't support interoperability and has firewall problems as DCOM transfers facts in binary layout and it uses many ports to name far flung features.
• CORBA makes use of the IIOP protocol, that's non-Internet friendly.
• CORBA and DCOM are great for building organization programs that runs on the equal platform and no longer desirable enough for applications that span systems and languages.
Javascript Advanced Interview Questions
Question sixteen. Advantages Of .Internet Web Services?
Answer :
Web Services are supported on a huge variety of structures.
Web services may also enlarge its interface and upload new techniques with out affecting the customers so long as they still provide the old techniques and parameters.
• A patron makes a request to an internet service, the internet provider returns the end result, and the connection is closed. There is not any everlasting connection. This makes it easy to scale up and help many clients at a time.
• Firewalls can pose a undertaking for disbursed object technologies. The only aspect that almost usually gets via firewalls is HTTP site visitors on ports eighty and 443. Because internet services use HTTP, they could bypass through firewalls without explicit configuration.
Service Oriented Architecture (SOA) Tutorial
Question 17. Explain In Brief Web Service Standards?
Answer :
Following are the standards utilized by internet services:
WSDL
WSDL is used to create interface definition for an internet services. It describes all approximately strategies to the customer, i.E. Techniques to be had in an internet carrier, their parameters and return values.
SOAP
SOAP, Simple Object Access Protocol is a conversation protocol, a way to structure statistics, based on XML. The net offerings use SOAP message layout to encode statistics earlier than sending.
HTTP
The SOAP message layout in net services uses HTTP as communication protocol, i.E. SOAP messages are sent over HTTP channels.
DISCO
It is used to create discovery files that offer links to a couple of internet service endpoints. The DISCO wellknown creates a unmarried record that groups a listing of associated net services. A agency can put up a DISCO document on its server that carries hyperlinks to all the web services it affords.
UDDI
A wellknown for growing business registries that catalog organizations, the net services they offer, and the corresponding URLs for his or her WSDL contracts.
SQL Server Analysis Services (SSAS) Interview Questions
Question 18. Define The Specifications That Help In The Discovery Of A Web Service?
Answer :
DISCO
DISCO, an abbreviation of discovery, is a document that agencies together a list of associated web offerings. A organisation that offers internet services publishes a DISCO report on its server that has links of all the internet offerings it affords. The consumer requests this file to see all the available web services. This widespread is useful while purchaser already know about a employer that gives internet services. You also can use DISCO fashionable whilst running in local community. It isn't always useful to locate all web services over the net.
UDDI
UDDI (Universal Description, Discovery, and Integration) offers centralized directory for internet offerings over the net. It hosts web offerings from exclusive corporations and may be used by the clients to locate internet services in their particular need. To make internet services shared publicly, they ought to be posted in UDDI.
Java-Springs Interview Questions
Question 19. What Are The Data Types Supported By Web Services?
Answer :
.Net net services are constructed on XML-based totally requirements for changing information. This way .NET web offerings can aid simplest those data kinds that can be recognized through the XML schema wellknown. There are many proprietary .Net objects including FileSteam, Event log and many others. Are not supported within the internet offerings. These facts types are .Net specific types that aren't universally identified, i.E. .Net unique most effective.
You may even alternate custom objects the use of .Net internet services. The best drawback is that best public information members are transmitted, and all public individuals and homes must use one of the other supported information kinds.
You can use DataSet and DataTable to return records from database however can't use other ADO.NET items which include DataColumns and DataRows.
.Net offers a dispensed technology known as .Net remoting that may performs round huge range of .Net precise records type. But unfortunately, .Net remoting would not support client apart from .Net.
IBATIS Tutorial
Question 20. What Is The Difference Between Xml Web Services Using Asmx And .Internet Remoting Using Soap?
Answer :
• XML Web services are more limited than items exposed over .NET Remoting.
• XML Web offerings assist open standards that target pass-platform use.
• XML Web offerings are typically simpler to create and because of the constrained nature of XML Web services, the design issues are simplified.
• XML Web offerings help only SOAP message formatting, which makes use of larger XML textual content messages.
• Communication with .NET Remoting may be faster than XML Web service communique with a binary formatter.
• XML Web offerings are designed for use among groups and companies.
• XML Web offerings do not require a dedicated website hosting application because they're constantly hosted via ASP.NET.
• Consumers can use XML Web services simply as without problems as they are able to download HTML pages from the Internet. Thus there may be no want for an administrator to open additional ports on a firewall as they work via MS-IIS and ASP.NET
RESTful JAVA Web Services Interview Questions
Question 21. What Is The Transport Protocol You Use To Call A Web Service Soap ?
Answer :
HTTP with SOAP
Question 22. What Does Wsdl Stand For?
Answer :
WSDL stands for Web Services Description Language. There is WSDL.Exe that creates a .Wsdl Files which defines how an XML Web carrier behaves and instructs clients as to how to interact with the carrier.
Spring MVC Framework Tutorial
Question 23. True Or False: To Test A Web Service You Must Create A Windows Application Or Web Application To Consume This Service?
Answer :
False.
Web trying out Interview Questions
Question 24. What Are Vsdisco Files?
Answer :
VSDISCO documents are DISCO documents that assist dynamic discovery of Web offerings. If you location the subsequent VSDISCO record in a directory to your Web server, for instance, it returns references to all ASMX and DISCO files in the host directory and any subdirectories omitted in <EXCLUDE>factors:
<DYNAMICDISCOVERY
xmlns=”urn:schemas-dynamicdiscovery:disco.2000-03-17″>
<EXCLUDE path=”_vti_cnf” />
<EXCLUDE path=”_vti_pvt” />
<EXCLUDE path=”_vti_log” />
<EXCLUDE path=”_vti_script” />
<EXCLUDE path=”_vti_txt” />
</DYNAMICDISCOVERY>
Java Struts Interview Questions
Question 25. How Does Dynamic Discovery Work?
Answer :
ASP.NET maps the report name extension VSDISCO to an HTTP handler that scans the host directory and subdirectories for ASMX and DISCO documents and returns a dynamically generated DISCO report. A consumer who requests a VSDISCO file gets returned what seems to be a static DISCO document.
Apache Struts 2 Tutorial
Question 26. Is It Possible To Prevent A Browser From Caching An Aspx Page?
Answer :
Just name SetNoStore at the HttpCachePolicy item exposed via the Response item’s Cache belongings, as demonstrated right here:
<%@ Page Language=”C#” %>
<%
Response.Cache.SetNoStore ();
Response.Write (DateTime.Now.ToLongTimeString ());
%>
SetNoStore works through returning a Cache-Control: private, no-store header in the HTTP response. In this example, it prevents caching of a Web web page that shows the contemporary time.
Service Oriented Architecture (SOA) Interview Questions
Question 27. Can Two Different Programming Languages Be Mixed In A Single Asmx File?
Answer :
No.
Angular JS Interview Questions
Question 28. How Can A Win Service Developed In .Internet Be Installed Or Used In Win98?
Answer :
Windows service can't be hooked up on Win9x machines despite the fact that the .NET framework runs on gadget.
Question 29. What Is A Windows Service And How Does Its Lifecycle Differ From A "fashionable" Exe?
Answer :
Windows carrier is a software that runs inside the background. It is equal to a NT service. The executable created isn't a Windows utility, and hence you could’t just click and run it . It wishes to be established as a service, VB.Net has a facility wherein we are able to upload an installer to our software after which use a application to put in the provider. Whereas this is not the case with widespread exe.
IBATIS Interview Questions
Question 30. What Is Wsdl?
Answer :
WSDL is the Web Service Description Language, and it's far carried out as a selected XML vocabulary. While it’s very a whole lot more complex than what may be described here, there are critical factors to WSDL with which you need to be conscious. First, WSDL affords instructions to customers of Web Services to describe the format and contents of the SOAP packets the Web Service intends to issue. It’s an interface description report, of kinds. And 2d, it isn’t supposed that you examine and interpret the WSDL. Rather, WSDL must be processed via device, usually to generate proxy source code (.NET) or create dynamic proxies at the fly (the SOAP Toolkit or Web Service Behavior).
Question 31. Does The W3c Support Any Web Service Standards?
Answer :
The World Wide Web Consortium (W3C) is actively pursuing standardization of Web service protocols. In September 2000, the W3C mounted an XML Protocol Activity. The goal of the organization is to set up a proper general for SOAP. A draft model of SOAP 1.2 is presently beneath review, and progressing through the legit W3C recommendation method.
On January 25, 2002, the W3C additionally introduced the formation of a Web Service Activity. This new pastime will include the current SOAP work as well as new groups. The first new group is the Web Services Description Working Group, so that it will absorb paintings on WSDL. The 2d new organization is the Web Services Architecture Working Group, for you to try to create a cohesive framework for Web carrier protocols.
Question 32. What Is New About Web Services?
Answer :
People were the usage of Remote Procedure Calls (RPC) for a while now, and they lengthy in the past discovered the way to ship such calls over HTTP.
So, what is honestly new approximately Web services? The answer is XML.
XML lies at the center of Web services, and provides a commonplace language for describing Remote Procedure Calls, Web offerings, and Web provider directories.
Prior to XML, one ought to share facts amongst distinct applications, but XML makes this so much simpler to do. In the identical vein, you possibly can share offerings and code without Web services, however XML makes it less difficult to do these as nicely.
By standardizing on XML, different packages can extra effortlessly communicate to each other, and this makes software a whole lot extra exciting.
Spring MVC Framework Interview Questions
Question 33. What Is The Use Of Soap (easy Object Access Protocol) In .Internet Web Services?
Answer :
The Simple Object Access Protocol (SOAP) is a platform-independent protocol that uses XML to make remote system calls.
Each request and reaction is packaged in a SOAP message containing the statistics that a Web provider calls for to technique the message.
SOAP supports an in depth set of sorts just like the primitive types, DataSet, DateTime, XmlNode and others. SOAP can also transmit arrays of these types and gadgets of consumer-defined sorts.
Bootstrap Interview Questions
Question 34. Can You Use User-described Types In Web Services?
Answer :
It is feasible to process person-described types (additionally known as custom types) in a Web service. These types can be passed to or again from Web techniques. Web provider customers can also use those consumer-described types, due to the fact the proxy class created for the patron contains these kind definitions.
Custom sorts which can be despatched to or from a Web carrier are serialized, enabling them to be exceeded in XML format. This method is known as XML serialization.
Question 35. What Are The Web Services In Asp.Internet?
Answer :
A Web provider is a class that permits its techniques to be known as by techniques on other machines through not unusual data formats and protocols, along with XML and HTTP. In .NET, the over-the-network approach calls are usually carried out through the Simple Object Access Protocol (SOAP), an XML-primarily based protocol describing how to mark up requests and responses so they may be transferred through protocols inclusive of HTTP. Using SOAP, programs constitute and transmit facts in a standardized XML-based totally format.
Question 36. How Do I Get Started With Web Services?
Answer :
The simplest manner to get commenced with Web offerings is to research XML-RPC. Check out the XML-RPC specification or examine my e-book, Web Services Essentials. O'Reilly has also lately released a book on Programming Web Services with XML-RPC by using Simon St.Laurent, Joe Johnston, and Edd Dumbill.
Once you have got discovered the basics of XML-RPC, move onto SOAP, WSDL, and UDDI. These subjects are also blanketed in Web Services Essentials. For a complete treatment of SOAP, check out O'Reilly's Programming Web Services with SOAP, by using Doug Tidwell, James Snell, and Pavel Kulchenko.
Javascript Advanced Interview Questions
Question 37. What Is Xml-rpc?
Answer :
XML-RPC is a protocol that makes use of XML messages to perform Remote Procedure Calls. Requests are encoded in XML and despatched thru HTTP POST; XML responses are embedded inside the frame of the HTTP reaction. More succinctly, XML-RPC = HTTP + XML + Remote Procedure Calls. Because XML-RPC is platform independent, diverse packages can talk with one another. For instance, a Java client can speak XML-RPC to a Perl server.
To get a quick experience of XML-RPC, here is a sample XML-RPC request to a weather service (with the HTTP Headers neglected):
<?Xml version="1.0" encoding="ISO-8859-1"?>
<methodCall>
<methodName>weather.GetWeather</methodName>
<params>
<param><value>10016</value></param>
</params>
</methodCall>
The request includes a simple element, which specifies the technique name (getWeather) and any approach parameters (zip code).
Question 38. Explain Webmethod Attribute In Asp.Internet Web Service?
Answer :
Attaching the WebMethod characteristic to a Public approach indicates which you want the technique uncovered as a part of the XML Web carrier. The WebMethod characteristic tells .NET that a specific public approach should be uncovered as a web-callable method. The WebMethod characteristic has six related houses to document and change the behavior of your internet method. They are:
Description
MessageName
EnableSession
CacheDuration
TransactionOption
BufferResponse
The first two properties are used to file an internet approach, at the same time as the others have an effect on its behavior.
Question 39. Define Web Service?
Answer :
Web service is like software which makes it to be had at the internet. The consistent XML messaging gadget is used by internet offerings. To use a web carrier, a message is invoked through the patron, and a request is sent to the server in XML format and a response is given to the customer in XML record layout by way of the server. Web services are not dependent on the platform and any utility can get admission to it that's developed in any programming language.
Question 40. Define Soap?
Answer :
The abbreviation of SOAP is Simple Object Access Protocol, that's protocol replacing records between computers. Complete transaction depends on XML, which is also a platform independent. It is a distinctive way of messaging a gadget and communicates the use of delivery protocol.
SQL Server Analysis Services (SSAS) Interview Questions
Question 41. Define Wsdl?
Answer :
The full shape of WSDL is Web Services Description Language which represents a layer inside the protocol stack of internet service. Data sorts for all XML messages are contained in WSDL and the records about all XML messages are supplied in it. Address statistics of finding services is given by using WSDL.
Question forty two. Define .Internet Web Services?
Answer :
Web provider is like a factor sharing statistics on the internet and makes application improvement easy. The facility to make net technique means the functioning you carried out for your carrier is offered via ASP .Net. While gaining get admission to the carrier, a request is sent to consumer in XML layout and input cost is handed to web approach as a parameter, the response of the server is likewise within the XML layout. One factor is vital that services are running on the internet.
RESTful JAVA Web Services Interview Questions
Question forty three. Define Uddi?
Answer :
The abbreviation of UDDI is commonplace description, discovery and integration. It is a listing to keep web services information to determine, discover agencies and publish. The communique of UDDI is feasible the use of CORBA, SOAP and Java RMI protocol. The interfaces of UDDI net services are described by using WSDL. UDDI is built within the platform of Microsoft .Internet. UDDI is an open industry which is an business enterprise enabling business to discover each different and describe the manner they have interaction on internet.
Question 44. Define Windows Services?
Answer :
Earlier, a windows carrier became referred to as NT services are the programs which can be set up in computer systems as device services. These are the offerings going for walks within the history with an working gadget as home windows. The key utilization of windows services is to lower consumption of memory essential for doing backend operations. Let us recollect an example to understand perfectly. Suppose you are inquisitive about doing a couple of functions like monitoring you computer or any application for overall performance then the popularity of an utility is checked and several devices are controlled like printers. Here, windows services are used to lessen the consumption of memory. Additionally, windows offerings can run in your systems even in case you do no longer log into the machine. Also, those services do not have a consumer interface.
Question forty five. What Are The Characteristics Of Web Services?
Answer :
The traits of web offerings are:
XML – based totally:
It is based on XML that is platform impartial and successfully runs on all the operating structures and it's miles language impartial.
Loosely coupled:
Loosely coupled is not anything but net service clients aren't attached at once to the net services. Here, the consumer and server good judgment is intently connected to every other.
Coarse-grained:
Coarse-grained facility is supplied with the aid of it for applications and techniques in Java.
Supports to Remote Procedure Calls:
Remote system calls are supported by internet services whilst the transaction takes location at the same time as exchanging files.
Ability to be asynchronous and synchronous:
When the consumer is interested in executing internet services, the power to bind the client is furnished by synchronized. Thus, the provider is synchronously utilized by the purchaser. The consumer is authorized to invoke web carrier the use of asynchronous operations, when the client is inquisitive about executing different features.
Interoperability:
Without external effort, it gives device to device paintings.
Question forty six. What Are The Advantages Of Web Services?
Answer :
The blessings of net offerings are:
Reusability:
Open standards and protocols are used by the internet offerings. Deploying offerings is easy as they're now not thing-based version of an software for improvement. Thus, it's miles very smooth to reuse additives of net provider as appropriate in other offerings.
Ability to deploy:
Web services are deployed on the net and without any impartial and mapping issues, any user can use it.
Interoperability:
It is the crucial advantage of web offerings, which works outdoor non-public networks and provide builders to locate solutions in an powerful manner. Interoperability is furnished between several software program’s which can be going for walks on a couple of platforms. Virtually, net offerings do no longer rely on platform.
Usability:
Reuse of components and offerings in an infrastructure is authorized by way of web services. Business logic of more than one structures is authorized via net services and it's miles exposed over net. Thus, gives facility of using net services everywhere for various systems.
Question 47. What Are Web Services Disadvantages?
Answer :
• Web services have poor overall performance whilst it is in comparison with different distribution applications including CORBA, RMI and DCOM.
• Clearly XML is not taken into consideration amongst layout goals both brevity of encoding or parsing efficiency.
• When a request is made to the server by using the client and before responding to the request if energy had gone then it outcomes in system crash.
Question 48. Sharing A Process Between Windows Services Is Possible?
Answer :
Yes it is viable. A manner can be shared among home windows services.
Question 49. Name The Parent Class To Create All Windows Service In .Net?
Answer :
To create all of the home windows service, ServiceBase class is determine magnificence.
Question 50. For Installing Windows Service, Which .Internet Class Is Used?
Answer :
Windows services may be established the use of Service Installer magnificence which is likewise known as as undertaking installer class.
Question fifty one. Explain The Services Provided By Uddi To Web Applications?
Answer :
The following styles of offerings are supplied to web packages:
• XML schema for the descriptions of commercial enterprise includes specs and carrier writer on web carrier.
• Web registry of web services consist of provider, commercial enterprise and binding information for internet provider.
Question fifty two. Briefly Explain The Concept Of Web Services?
Answer :
It is a self-sustained and unbiased unit of software utility this is hosted on net and specific functionalities are carried out to perform enterprise common sense. Multiple functionalities are offered by a web carrier like computing tax, giving up to date information, producing pay slips for employees and broadcasting weather report. Application is allowed to trade facts or percentage records using web carrier with diverse programs on special hardware and working structures. Thus, internet service consists of out work to unit software program through swapping records irrespective of programming language, hardware and running gadget used within the improvement technique. The records transferred by way of the XML is within the XML layout and for verbal exchange purpose it makes use of SOAP, that is a protocol based on XML. Universal Description, Discover and Integration UDDI and Web Services Description Language (WSDL) are used by the net offerings to describe themselves.
Question fifty three. Can You Prevent Your Web Services From Illegal Access?
Answer :
You can save you web offerings from illegal get right of entry to using following ways:
• Using security based on message and encryption.
• Access controls and authentication can also prevent unlawful get entry to.
Question 54. Give Me The Advantages Of Web Services Over Com And Dcom?
Answer :
The following are the advantages of web offerings over COM and DCOM:
• It is straightforward and easy to use internet services and it's miles implemented on specific systems.
• The net services are loosely coupled and their strategies and interfaces may be prolonged.
• Stat records isn't always carried by means of web offerings so that severa requests are processed simultaneously.
Question fifty five. What Attracted You To The Web Services Field?
Answer :
Web offerings is at its center software that can be accessed on line that makes use of an XML messaging gadget, which encodes the communications in internet offerings.
Question fifty six. How Have You Improved Your Knowledge Of Web Services Recently?
Answer :
Since there are numerous running systems and programming languages worried in web offerings, strive to speak about how you have got improved your expertise of a few, consisting of Java, Perl, Unix programs or Windows applications. If you already know any of these are extra prominently used in the agency you’re making use of for, communicate approximately them.
Question fifty seven. How Do You Plan To Continue Expanding Your Web Services Knowledge In The Future?
Answer :
If there are any components of web offerings, mainly programming languages and operating systems, which you are not as acquainted with, say this and then talk approximately your choice to paintings more with them to amplify your understanding. Also, talk approximately how you will take gain of any extra training presented through the company.
Question 58. What Are The Main Web Services Skills That You Possess That Relate To This Position?
Answer :
This is where your studies of the position will virtually repay. XML, for example, is a notably new idea in internet offerings this is beginning to come to be used greater extensively. If you recognize this corporation makes use of XML, speak about your training and revel in with it.
Question fifty nine. What Are Windows Services?
Answer :
Windows offerings, formerly known as NT offerings, are programs which are mounted on the machine as machine services. In different words, Windows offerings are applications that run in the history with the Windows operating device. The primary use of Windows offerings is to lessen the intake of memory required for acting backend operations. Let's take an example to understand this easily. Suppose you want to carry out a diffusion of functions, including display the performance of your laptop or software, check the reputation of an utility, and manage numerous devices, which includes printers.
In the sort of case, you can use Windows offerings to reduce reminiscence intake. In addition, Windows services can run in your device even when you have now not logged on on your computer. In addition, these offerings do now not have any user interface.
Question 60. Can You Share A Process Between Windows Services?
Answer :
Yes, you may proportion a system among Windows offerings.
Question sixty one. In .Net, Which Is The Parent Class To Create All Windows Services?
Answer :
The ServiceBase magnificence is the discern elegance to create all Windows offerings.
Question sixty two. Which Class In .Net Is Used To Install A Windows Service?
Answer :
The ServiceInstaller magnificence, additionally referred to as the project installer magnificence, is used to install a Windows provider.
Question 63. While Installing A Windows Service, An Eventloginstaller Class Is Automatically Created To Install The Event Log Related To The Particular Service. Is It True?
Answer :
Yes, it's miles actual.
Question sixty four. Which Property Of The Servicebase Class Can Be Used To Specify Whether A Service Can Be Paused And Resumed?
Answer :
The CanPauseAndContinue assets affords such type of provider.
Question 65. Describe The Services That Uddi Provides To Web Applications?
Answer :
UDDI affords the subsequent sorts of services to a Web utility:
• XML Schema for commercial enterprise descriptions - Includes facts about the carrier publisher (contact call, cope with, and so on) and specs at the Web provider.
• Web registry of Web offerings - Includes business, service, and binding records for the Web service.
Question 66. Write The File Extension For A Web Service?
Answer :
A Web provider document extension is .Asm report. For instance, service1.Asmx is a Web service document.
Question 67. Which Method Is Used To Uninstall The Windows Services?
Answer :
The Uninstall() method is used to uninstall the Windows services.
Question sixty eight. What Is The Use Of The Mustunderstand Attribute In The Header Element Of A Soap Message?
Answer :
The mustUnderstand characteristic suggests that a header access is either required or non-obligatory for the recipient to procedure similarly.
Question 69. What Advantage Uddi Has Over Disco?
Answer :
The UDDI directory has an advantage over a DISCO report, as it offers a single area wherein a consumer can discover the Web services offered by using one-of-a-kind organizations.
Question 70. How Can You Ensure That Only Authorized Users Access Your Web Service?
Answer :
You should use the <authorization> element to ensure that handiest legal user’s get right of entry to your Web service. This detail lets in or denies get right of entry to to your Web service in step with their role.
Question seventy one. Describe The Eventlog Class?
Answer :
The EventLog magnificence is used to get right of entry to the Windows occasion logs from Windows services. Using EventLog, you can additionally customize Windows event logs that record information approximately vital software program and hardware activities, including the events of the .NET controls, keyboard, or other hardware devices.
The EventLog elegance allows you to read or write to occasion logs, delete logs, and create in addition to delete event sources. You can use the EventLog class to create occasion logs while creating an occasion supply. An occasion source can be used to write to simplest one occasion log at a specific time. However, it's far possible to partner one occasion log to more than one resources.
Question 72. How Can You Prevent Your Web Services From Unauthorized Access?
Answer :
The following are the methods to prevent your Web carrier from unauthorized access:
• Using encryption and message-based totally security.
• Using authentication and get entry to controls for the Web service.
Question seventy three. Explain The Concept Of Web Services In Brief?
Answer :
A Web service can be described as an impartial and self-sustained unit of a software program application that is hosted on the Web and implement particular functionalities to execute the enterprise common sense. A Web provider offers so many functionalities, which include producing pay slips for employees, computing tax, broadcasting weather report, and providing up to date news. The Web carrier lets in application to percentage statistics or trade records with different programs across exclusive operating systems and hardware.
Therefore, the paintings of a Web carrier is to unite software program through changing data no matter their operating systems, supported hardware, and programming language used in their improvement. The Web offerings transfer statistics inside the XML layout and use Simple Object Access Protocol (SOAP) to speak. It is an XML based protocol. The Web offerings use Web Services Description Language (WSDL) and Universal Description, Discovery, and Integration (UDDI) to explain itself.
Question seventy four. What Advantages Have Web Services Over Component Object Model (com) And Distributed Component Object Model (dcom)?
Answer :
The blessings of Web offerings over COM and DCOM are as follows:
• Web offerings are easy to use and may be applied on varied structures.
• Web offerings are loosely coupled; as a end result, their interfaces and strategies may be extended.
• Web services do not bring any kingdom information with them so that a couple of requests can be processed concurrently.
Question 75. Mention The Namespace That You Must Import In Code To Build A Web Service?
Answer :
System.Web.Services is the standard namespace, which have to be imported to increase code of a Web provider.
Question 76. What Does The Porttype Element Of A Wsdl Document Contain?
Answer :
The portType element incorporates the operations uncovered by means of the Web carrier, and the messages concerned inside the communique between the Web carrier and its clients.
Question seventy seven. What Is Disco?
Answer :
DISCO is a technology developed by using Microsoft to post and find out Web offerings. It discovers URLs of all XML Web services placed on a Web server and creates a listing of these Web services in a record called as a DISCO report.
Question 78. Which Two Methods Are Used To Discover The Url Of Web Services?
Answer :
The methods to find out the URL of Web offerings are Web carrier discovery device (Disco.Exe) and UDDI.
Question seventy nine. Which Step Is Necessary To Perform Before A Web Service Can Be Consumed?
Answer :
It is necessary to build a proxy class by the usage of the wsdl.Exe software earlier than a Web carrier may be ate up.
Question eighty. Which Property Of The Webmethod Attribute Allows You To Maintain The State Of Objects Across Sessions In A Web Method?
Answer :
The WebMethod characteristic's EnableSession belongings enables you to enable session nation for a Web technique.
Question 81. Write The Names Of Public Properties Defined In The Webservice Class?
Answer :
There are many properties described inside the WebServices class:
• Application - Obtains the application item for the modern HTTP request.
• Context - Obtains the HttpContext object for the modern request, which encapsulates all HTTP-specific context used by the HTTP server to technique Web requests.
• Server - Obtains the HttpServerUtility item for the present day request.
• Session - Obtains the HttpSessionState object for the present day request.
• SoapVersion - Obtains the version of the SOAP protocol used to make the SOAP request to a Web carrier.
• User - Obtains the Server User Object. This property can be used to authenticate whether a consumer is permitted to execute the request.
Question 82. What Do You Understand By Soap Encoding?
Answer :
The Serialization of the sorts, which include integers and strings, internal a SOAP message is called encoding. The SOAP items use XML factors and attributes to serialized facts, for example, encodingStyle is an characteristic of theEnvelop element, that is used to specify the encoding policies for a SOAP item.
Question eighty three. What Is The Use Of A .Disco File?
Answer :
A patron application uses a .Disco document to discover or find out the files that include the outline of a Web provider. The .Disco record incorporates links to other resources, which describe important capabilities, which include capabilities of a Web provider. The hyperlinks contained in a .Disco document can talk to other discovery files or XSD schemas. The description about the offerings and abilties of a Web provider is written in Web services Description Language (WSDL). A .Disco file also can incorporate the information about different XML Web offerings that reside at the identical or a exclusive Web server.
Question 84. Mention The Name Of The Directory Where It Is Necessary To Locate The Proxy File To Use A Web Service?
Answer :
The proxy file have to be saved inside the /bin directory. This directory is located beneath the basis directory of the utility.
Question eighty five. Does A Web Service Have State?
Answer :
The Web offerings do not have any technique to maintain state. However, it could get entry to ASP.NET objects, which include software and session if they enlarge from the WebService base elegance.
Question 86. Which Namespace Must Be Included In A Code That Enables A Xml Web Service To Write Events In An Event Log File?
Answer :
The System.Diagnostics is the namespace, which must be protected in a code to allow a Web carrier for writing occasions in an occasion log document.
Question 87. Which Tool Installs The Dll On Your Local Computer And Installs The Windows Service In A Transactional Manner?
Answer :
The Installutil.Exe device.
Question 88. What Is Web Hosting?
Answer :
Web web hosting is the act of renting area and bandwidth thru a business enterprise so that you might also post your web website online.
Question 89. What Is Virtual Hosting?
Answer :
Also called shared web hosting, this form of web website hosting must suffice for most anyone. Virtual website hosting easy refers back to the reality that your site is on one server, and that this server hosts more than one websites. You are genuinely shared - your web site will not be the most effective one on this specific server. Very few web sites could really want the energy of a dedicated server, so this selection presents to be a reliable and cheap answer.
Question 90. What Is A Domain Name?
Answer :
A area call is a word along with a TLD that uniquely identifies your website.
Question ninety one. What Is Uptime?
Answer :
Uptime is the share of time that an internet web page is working. For example, if a few host has an uptime common of 99.86%, because of this your website could be down for a total approximately 1 hour every month, We reveal uptime of patron web sites of many web hosts and we display this information at the hosts info web page. Some hosts additionally provide “uptime ensures” but this is not as valuable as it might seem.
Question 92. How Do I Upload My Site?
Answer :
The most important approach of uploading documents to your web page’s account is through the use of FTP. When you sign up with a number, you'll in all likelihood get an FTP account that helps you to get right of entry to documents in your account (commonly ftp.Yoursitename.Com, your principal account name and password). Then you could use a built-in Windows or Internet Explorer FTP customer, or a few different software program that supports FTP along with CuteFTP. WS_FTP, or Total Commander, to switch files from your hard drive for your account. If you don’t get an FTP account or if you pick a Web interface, you may use your account control panel’s File Manager as a substitute.
Question 93. What Is Full-provider Web Hosting?
Answer :
“Full-provider” can refer to a variety of offerings offered in addition to presenting web space, transfer, and emails for an internet website. For instance, it can be 24/7 toll unfastened telephone support, internet design offerings, or web web site content renovation services.
Question ninety four. What Is Domain Parking?
Answer :
Domain parking helps you to cost effectively reserve a website call for future use and show an “under construction” default page on it. You can sign in a site and now not park it everywhere hut then your site will without a doubt be inaccessible until you get a web host. Some registrar can help you park your domain totally free.
Question ninety five. Can I Run My Own Software On My Site?
Answer :
This relies upon on a web host and a plan. Most plans will permit strolling scripts in languages which include Perl or PHP. Some plans can even will let you assemble program in C/C++ and run them. Some Unix plans will even will let you run “cron” which permits you to routinely execute programs or scripts at a specific time and date. However to get a full manipulate over all components of your server, you'll want a dedicated or co-positioned server in place of a shared plan.
Question 96. What Is The Difference Between Unix Hosting And Windows Hosting?
Answer :
If you want to assist Microsoft products including ASP, MS Access, or VBScript, then Windows website hosting could be higher Further more, if you are comfy with 11S and do no longer have the time to recognize how UNIX works, Windows web hosting might once more be a higher desire.
Question ninety seven. What Is Cpanel?
Answer :
cPanel is a Unix based totally web website hosting manipulate panel that gives a graphical interface and automation gear designed to simplify the manner of website hosting a web web site. CPanel makes use of a three tier structure that gives capability for administrators, resellers, and cease-user internet site owners to govern the numerous factors of internet site and server administration thru a standard net browser.
Question ninety eight. What Is Webhost Manager (wiim)?
Answer :
WebHost Manager (WI-EM) is an internet-based device used by server directors and resellers to manipulate hosting bills on an internet server. WI-IM listens on ports 2086 and 2087 by means of default.
Question 99. What Is A Vector Space Query?
Answer :
A multiple-phrase query in which the load can be assigned to each of the hunt phrases. For example, if you need to fight statistics on ‘black hole’, but might opt to supply more weight to the word hole, you could enter black hollow into the search window.
Question one hundred. For The Document Of Size I Nib, What Size Would You Expect The Index To Be With Indexing Service?
Answer :
one hundred fifty-300 KB, 15-30% is an affordable expectation.
Question one zero one. Where Is Asp Cache Located On Iis 6.Zero?
Answer :
On disk, in place of memory, because it was once in IIS 5.
Question 102. What Is The Role Of Http.Sys In Iis?
Answer :
It is the point of contact for all incoming HTTP requests. It listens for requests and queues them till they may be all processed, no more queues are available, or the Web server is shut down.
Question 103. What Is The Relation Between Ssl And Tls?
Answer :
Transport Layer Security (TLS) extends SSL by providing cryptographic authentication.
Question 104. What Secure Authentication And Encryption Mechanisms Are Supported By Iis 6.0?
Answer :
Basic authentication, Digest authentication, Advanced digest authentication, Certificate- based Web transactions that use PKCS #7/PKCS #10, Fortezza, SSL, Server-Gated Cryptography, Transport Layer Security.
Question one hundred and five. What Is The Name Of The User Who Connects To The Web Site Anonymously?
Answer :
IUSR_computername.
Question 106. What Script Ship With Iis 6.Zero?
Answer :
iisweb.Vsb to create, delete, begin, stop, and listing Web sites, iisffp.Vsb to create, delete, start, stop, and list FTP web sites, iisdir.Vsb to create, delete, start, stop, and display virtual directories, iisftpdr.Vsb to create, delete, start, forestall, and display digital directories beneath an FTP root, iiscnfg.Vbs to export and import IIS configuration to an XML file.
Question 107. What Is The Difference Between The Basic Disk And Dynamic Disk?
Answer :
The fundamental type includes walls, extended walls, logical drivers, and an assortment of static volumes.
The dynamic type does now not use partitions however dynamically manages volumes and gives superior storage options.
Question 108. Can Windows Server 2003 Function As A Bridge?
Answer :
Yes, and it’s a new characteristic for the 2003 product. You can integrate several networks and gadgets related thru several adapters by way of permitting IP routing.
Question 109. Does Windows Server 2003 Support Ipv6?
Answer :
Yes, run ipv6.Exe from command line to disable it.
Question 110. What Is Presentation Layer Responsible For In The Osi Model?
Answer :
The presentation layer establishes the information format prior to passing it along to the network application’s interface. TCP/IP networks perform this challenge at the application layer.
Question 111. What Are The Properties Of Application Pool In Iis?
Answer :
The properties of software Pool in IIS is:
Recycling
Performance
Health
Identity
Question 112. What Is The Difference Between Iis 5.1 And Iis 6 Administration?
Answer :
IIS 5.1 is for Windows XP.
IIS 6 is for Windows Server, We can create separate utility pool with employee procedure for a separate internet site in IIS 6.Zero Server only.
Question 113. What Is App Pool And App Domain? What Is The Difference Between The Two In Iis?
Answer :
Application pool is created the each and each internet site.
Application domain is created to 1 domain reason.
Question 114. How Many Times Are Working In Iis Server?
Answer :
24 Hours.
Question a hundred and fifteen. Can We Run Multiple Websites With Same Port Number And Different Ip Address?
Answer :
Yes, We can use multiple web sites with identical port variety and different IP deal with.
Question 116. How To Install Our Web Application In Iis Web Server?
Answer :
There are exclusive manner to deploy the net software in web server like:
X Copy deployment.
Create setup package and installation the server machine.
Use the deployment equipment and configure the server repository and drag and drop all documents on your device to digital folder of server device.
Question 117. What Is Plug-in?
Answer :
In internet browsers, a plug-in (also known as plugin, addin, upload-in, addon, upload-on, snap-in or snapin) consists of a computer application that interacts with a number application (a web browser or an electronic mail purchaser, for example) to offer a certain, generally very specific, function “on demand”. Add-on is often considered the general time period comprising plug-ins, extensions, and themes as subcategories.
Question 118. What You Know About Mozilla Firefox?
Answer :
Mozilla Firefox is a loose and open source internet browser descended from the Mozilla Application Suite and managed by way of Mozilla Corporation. A Net Applications statistic placed Firefox at 24.Forty one% of the recorded usage proportion of internet browsers as of January 2010, making it the second most popular browser in phrases of cutting-edge use international after Microsoft’s Internet Explorer, and the maximum used browser independent of anybody running system. Other sources positioned Firefox’s usage share at among 21% and 32% and commonly trending upward.
Question 119. Have You Any Idea About Netscape?
Answer :
Netscape’s net browser turned into once dominant in phrases of utilization share, but misplaced most of that proportion to net Explorer for the duration of the first browser battle. By the end of 2006, the usage proportion of Netscape browsers had fallen, from over 90% within the mid Nineties, to much less than 1%. Netscape developed the Secure Sockets Layer Protocol (SSL) for securing online Communication, which remains widely, used, in addition to JavaScript, the most extensively-used language for purchaser-side scripting of net pages.
Question one hundred twenty. Explain About Safari (net Browser)?
Answer :
Safari is a web browser evolved through Apple. First launched as a public beta on January 7, 2003 on the business enterprise’s Mac OS X working gadget, it have become Apple’s default browser starting with Mac OS X vlO.Three “Panther.” Safari is likewise the native browser for the iPhone OS. A version of Safari for the Microsoft Windows working device, first launched on June eleven, 2007, supports Windows XP, Windows Vista, and Windows 7. The present day stable release of the browser is 4.0.Four for both Mac OS X and Windows.
Question 121. Explain About Opera (internet Browser)?
Answer :
Opera is a web browser and Internet suite developed via the Opera Software company. The browser handles commonplace Internet-associated obligations which include showing web sites, sending and receiving e mail messages, handling contacts, chatting on IRC clients, downloading files via BitTorrent, and studying Web feeds. Opera is offered freed from fee for private computer systems and cell phones.
Question 122. What Is Hyperlink?
Answer :
In computing, a hyperlink (or hyperlink) is a connection with a document that the reader can directly follow, or this is followed routinely. The reference points to a whole document or to a selected element inside a record. Hypertext is textual content with hyperlinks. Such textual content is typically viewed with a laptop. A software system for viewing and growing hypertext is a hypertext gadget. To hyperlink (or clearly to link) is to create a link. A person following hyperlinks is said to navigate or browse the hypertext.
Question 123. What Is Cross-website Scripting?
Answer :
An assault approach that forces a web web site to echo client-supplied records, which execute in a users web browser. When a consumer is Cross-Site Scripted, the attacker could have get entry to to all net browser content (cookies, records, utility version, and many others). XSS attacks do now not generally at once goal the web server or application, however are alternatively aimed at the patron. The web server is merely used as a conduit for the XSS information to be presented to the cease purchaser.
Question 124. Which Is The Fastest Web Browser?
Answer :
Microsoft Internet Explorer normally has the fastest startup time on Microsoft Windows machines, despite the fact that this is normally because the real “charge” of starting it up is paid during the booting of your Microsoft Windows gadget, Opera is the fastest browser in phrases of putting minimal needs on an older laptop. Firefox is a totally fast descendant of Mozilla, nicely-tuned for real-global surfing stories, with an interface that speeds up the manner you get things done in a web browser by supplying functions like tabbed browsing and a more fashionable “find” feature --any other relevant form of velocity.
Question one hundred twenty five. What Is Ssl (secure Sockets Layer)?
Answer :
SSL (Secure Sockets Layer) is a comfortable communications protocol utilized by browsers, web sites, and
