InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 51. |
How Do You Plan To Continue Expanding Your Web Services Knowledge In The Future? |
|
Answer» If there are any aspects of web services, particularly PROGRAMMING LANGUAGES and operating systems, that you are not as familiar with, say this and then talk about your desire to WORK more with them to expand your knowledge. Also, talk about how you WOULD TAKE advantage of any extra training offered by the company. If there are any aspects of web services, particularly programming languages and operating systems, that you are not as familiar with, say this and then talk about your desire to work more with them to expand your knowledge. Also, talk about how you would take advantage of any extra training offered by the company. |
|
| 52. |
How Have You Improved Your Knowledge Of Web Services Recently? |
|
Answer» Since there are many operating SYSTEMS and programming languages involved in web SERVICES, try to talk about how you have improved your knowledge of a few, such as Java, PERL, Unix applications or Windows applications. If you know any of these are more prominently USED in the company you’re applying for, talk about them. Since there are many operating systems and programming languages involved in web services, try to talk about how you have improved your knowledge of a few, such as Java, Perl, Unix applications or Windows applications. If you know any of these are more prominently used in the company you’re applying for, talk about them. |
|
| 53. |
What Attracted You To The Web Services Field? |
|
Answer» WEB services is at its CORE software that can be ACCESSED online that USES an XML messaging system, which ENCODES the communications in web services. Web services is at its core software that can be accessed online that uses an XML messaging system, which encodes the communications in web services. |
|
| 54. |
Give Me The Advantages Of Web Services Over Com And Dcom? |
|
Answer» The following are the advantages of web services over COM and DCOM: The following are the advantages of web services over COM and DCOM: |
|
| 55. |
Can You Prevent Your Web Services From Illegal Access? |
|
Answer» You can prevent WEB services from illegal access USING following ways: You can prevent web services from illegal access using following ways: |
|
| 56. |
Briefly Explain The Concept Of Web Services? |
|
Answer» It is a self-sustained and independent unit of software application that is hosted on internet and specific functionalities are implemented to perform business logic. Multiple functionalities are offered by a web service like computing tax, giving UPDATED news, generating pay SLIPS for employees and broadcasting weather report. Application is allowed to EXCHANGE data or share information using web service with various applications on different hardware and operating systems. Thus, web service carries out work to unit software by swapping data IRRESPECTIVE of programming LANGUAGE, hardware and operating system used in the development process. The data transferred by the XML is in the XML format and for communication purpose it uses SOAP, which is a protocol based on XML. Universal Description, Discover and Integration UDDI and Web Services Description Language (WSDL) are used by the web services to describe themselves. It is a self-sustained and independent unit of software application that is hosted on internet and specific functionalities are implemented to perform business logic. Multiple functionalities are offered by a web service like computing tax, giving updated news, generating pay slips for employees and broadcasting weather report. Application is allowed to exchange data or share information using web service with various applications on different hardware and operating systems. Thus, web service carries out work to unit software by swapping data irrespective of programming language, hardware and operating system used in the development process. The data transferred by the XML is in the XML format and for communication purpose it uses SOAP, which is a protocol based on XML. Universal Description, Discover and Integration UDDI and Web Services Description Language (WSDL) are used by the web services to describe themselves. |
|
| 57. |
Explain The Services Provided By Uddi To Web Applications? |
|
Answer» The FOLLOWING types of services are provided to web applications: The following types of services are provided to web applications: |
|
| 58. |
For Installing Windows Service, Which .net Class Is Used? |
|
Answer» Windows SERVICES can be installed using Service INSTALLER class which is ALSO called as PROJECT installer class. Windows services can be installed using Service Installer class which is also called as project installer class. |
|
| 59. |
Name The Parent Class To Create All Windows Service In .net? |
|
Answer» To CREATE all the WINDOWS service, SERVICEBASE CLASS is parent class. To create all the windows service, ServiceBase class is parent class. |
|
| 60. |
Sharing A Process Between Windows Services Is Possible? |
|
Answer» Yes it is POSSIBLE. A process can be SHARED between WINDOWS services. Yes it is possible. A process can be shared between windows services. |
|
| 61. |
What Are Web Services Disadvantages? |
|
Answer» • WEB SERVICES have poor performance when it is COMPARED with other DISTRIBUTION applications such as CORBA, RMI and DCOM. • Web services have poor performance when it is compared with other distribution applications such as CORBA, RMI and DCOM. |
|
| 62. |
What Are The Advantages Of Web Services? |
|
Answer» The advantages of web services are: Reusability: The advantages of web services are: Reusability: |
|
| 63. |
What Are The Characteristics Of Web Services? |
|
Answer» The characteristics of web services are: XML – based: The characteristics of web services are: XML – based: |
|
| 64. |
Define Windows Services? |
|
Answer» Earlier, a WINDOWS service was known as NT services are the applications which are installed in computers as SYSTEM services. These are the services running in the background with an operating system as windows. The key usage of windows services is to decrease consumption of memory essential for doing backend operations. LET us consider an example to understand perfectly. Suppose you are interested in doing MULTIPLE functions like monitoring you computer or any APPLICATION for performance then the status of an application is checked and several devices are managed like printers. Here, windows services are used to reduce the consumption of memory. Additionally, windows services can run on your systems even if you do not log into the system. Also, these services do not have a user interface. Earlier, a windows service was known as NT services are the applications which are installed in computers as system services. These are the services running in the background with an operating system as windows. The key usage of windows services is to decrease consumption of memory essential for doing backend operations. Let us consider an example to understand perfectly. Suppose you are interested in doing multiple functions like monitoring you computer or any application for performance then the status of an application is checked and several devices are managed like printers. Here, windows services are used to reduce the consumption of memory. Additionally, windows services can run on your systems even if you do not log into the system. Also, these services do not have a user interface. |
|
| 65. |
Define Uddi? |
|
Answer» The abbreviation of UDDI is universal description, DISCOVERY and integration. It is a directory to store web services information to determine, FIND businesses and publish. The communication of UDDI is possible using CORBA, SOAP and Java RMI protocol. The interfaces of UDDI web services are described by WSDL. UDDI is built in the platform of Microsoft .net. UDDI is an open industry which is an enterprise ENABLING business to find each other and DESCRIBE the WAY they interact on web. The abbreviation of UDDI is universal description, discovery and integration. It is a directory to store web services information to determine, find businesses and publish. The communication of UDDI is possible using CORBA, SOAP and Java RMI protocol. The interfaces of UDDI web services are described by WSDL. UDDI is built in the platform of Microsoft .net. UDDI is an open industry which is an enterprise enabling business to find each other and describe the way they interact on web. |
|
| 66. |
Define .net Web Services? |
|
Answer» Web SERVICE is like a component sharing information on the web and makes APPLICATION development easy. The facility to MAKE web method means the functioning you implemented in your service is offered by ASP .net. While gaining access the service, a request is sent to client in XML format and input value is passed to web method as a PARAMETER, the response of the server is ALSO in the XML format. One thing is essential that services are running on the web. Web service is like a component sharing information on the web and makes application development easy. The facility to make web method means the functioning you implemented in your service is offered by ASP .net. While gaining access the service, a request is sent to client in XML format and input value is passed to web method as a parameter, the response of the server is also in the XML format. One thing is essential that services are running on the web. |
|
| 67. |
Define Wsdl? |
|
Answer» The full form of WSDL is WEB Services Description LANGUAGE which represents a layer in the protocol STACK of web service. Data types for all XML messages are contained in WSDL and the information about all XML messages are PROVIDED in it. Address information of locating services is given by WSDL. The full form of WSDL is Web Services Description Language which represents a layer in the protocol stack of web service. Data types for all XML messages are contained in WSDL and the information about all XML messages are provided in it. Address information of locating services is given by WSDL. |
|
| 68. |
Define Soap? |
|
Answer» The abbreviation of SOAP is Simple Object Access Protocol, which is protocol exchanging information between COMPUTERS. COMPLETE TRANSACTION depends on XML, which is also a platform independent. It is a different way of MESSAGING a system and communicates using TRANSPORT protocol. The abbreviation of SOAP is Simple Object Access Protocol, which is protocol exchanging information between computers. Complete transaction depends on XML, which is also a platform independent. It is a different way of messaging a system and communicates using transport protocol. |
|
| 69. |
Define Web Service? |
|
Answer» Web service is LIKE SOFTWARE which makes it available on the web. The consistent XML messaging system is used by web services. To use a web service, a message is INVOKED by the CLIENT, and a REQUEST is sent to the server in XML format and a response is given to the client in XML file format by the server. Web services are not dependent on the platform and any application can access it which is developed in any programming language. Web service is like software which makes it available on the web. The consistent XML messaging system is used by web services. To use a web service, a message is invoked by the client, and a request is sent to the server in XML format and a response is given to the client in XML file format by the server. Web services are not dependent on the platform and any application can access it which is developed in any programming language. |
|
| 70. |
Explain Webmethod Attribute In Asp.net Web Service? |
|
Answer» Attaching the WebMethod attribute to a Public method indicates that you want the method exposed as part of the XML Web service. The WebMethod attribute tells .NET that a particular public method should be exposed as a web-callable method. The WebMethod attribute has SIX associated properties to DOCUMENT and change the BEHAVIOR of your web method. They are:
Attaching the WebMethod attribute to a Public method indicates that you want the method exposed as part of the XML Web service. The WebMethod attribute tells .NET that a particular public method should be exposed as a web-callable method. The WebMethod attribute has six associated properties to document and change the behavior of your web method. They are:
|
|
| 71. |
What Is Xml-rpc? |
|
Answer» XML-RPC is a protocol that uses XML messages to perform Remote Procedure Calls. Requests are encoded in XML and sent via HTTP POST; XML responses are EMBEDDED in the body of the HTTP response. More SUCCINCTLY, XML-RPC = HTTP + XML + Remote Procedure Calls. Because XML-RPC is platform independent, diverse applications can communicate with one another. For example, a Java client can speak XML-RPC to a Perl server. To get a quick sense of XML-RPC, here is a sample XML-RPC request to a weather service (with the HTTP Headers omitted): XML-RPC is a protocol that uses XML messages to perform Remote Procedure Calls. Requests are encoded in XML and sent via HTTP POST; XML responses are embedded in the body of the HTTP response. More succinctly, XML-RPC = HTTP + XML + Remote Procedure Calls. Because XML-RPC is platform independent, diverse applications can communicate with one another. For example, a Java client can speak XML-RPC to a Perl server. To get a quick sense of XML-RPC, here is a sample XML-RPC request to a weather service (with the HTTP Headers omitted): |
|
| 72. |
How Do I Get Started With Web Services? |
|
Answer» The easiest way to get started with Web services is to learn XML-RPC. Check out the XML-RPC SPECIFICATION or read my book, Web Services Essentials. O'Reilly has also RECENTLY released a book on Programming Web Services with XML-RPC by Simon St.Laurent, Joe Johnston, and Edd Dumbill. The easiest way to get started with Web services is to learn XML-RPC. Check out the XML-RPC specification or read my book, Web Services Essentials. O'Reilly has also recently released a book on Programming Web Services with XML-RPC by Simon St.Laurent, Joe Johnston, and Edd Dumbill. |
|
| 73. |
What Are The Web Services In Asp.net? |
|
Answer» A Web service is a class that allows its METHODS to be called by methods on other machines via common data FORMATS and protocols, such as XML and HTTP. In .NET, the over-the-network method CALLS are commonly implemented through the Simple Object Access Protocol (SOAP), an XML-based protocol describing how to mark up REQUESTS and responses so that they can be TRANSFERRED via protocols such as HTTP. Using SOAP, applications represent and transmit data in a standardized XML-based format. A Web service is a class that allows its methods to be called by methods on other machines via common data formats and protocols, such as XML and HTTP. In .NET, the over-the-network method calls are commonly implemented through the Simple Object Access Protocol (SOAP), an XML-based protocol describing how to mark up requests and responses so that they can be transferred via protocols such as HTTP. Using SOAP, applications represent and transmit data in a standardized XML-based format. |
|
| 74. |
Can You Use User-defined Types In Web Services? |
|
Answer» It is POSSIBLE to process user-defined types (also known as custom types) in a Web service. These types can be passed to or RETURNED from Web methods. Web service CLIENTS also can USE these user-defined types, because the proxy class created for the client contains these type definitions. It is possible to process user-defined types (also known as custom types) in a Web service. These types can be passed to or returned from Web methods. Web service clients also can use these user-defined types, because the proxy class created for the client contains these type definitions. |
|
| 75. |
What Is The Use Of Soap (simple Object Access Protocol) In .net Web Services? |
|
Answer» The Simple Object Access Protocol (SOAP) is a platform-independent protocol that uses XML to make REMOTE procedure CALLS. The Simple Object Access Protocol (SOAP) is a platform-independent protocol that uses XML to make remote procedure calls. |
|
| 76. |
What Is New About Web Services? |
|
Answer» PEOPLE have been using Remote PROCEDURE Calls (RPC) for some time now, and they long ago discovered how to send such calls over HTTP. People have been using Remote Procedure Calls (RPC) for some time now, and they long ago discovered how to send such calls over HTTP. |
|
| 77. |
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 established an XML Protocol Activity. The goal of the GROUP is to establish a formal standard for SOAP. A draft version of SOAP 1.2 is CURRENTLY under review, and progressing through the official W3C recommendation process. The World Wide Web Consortium (W3C) is actively pursuing standardization of Web service protocols. In September 2000, the W3C established an XML Protocol Activity. The goal of the group is to establish a formal standard for SOAP. A draft version of SOAP 1.2 is currently under review, and progressing through the official W3C recommendation process. |
|
| 78. |
What Is A Windows Service And How Does Its Lifecycle Differ From A "standard" Exe? |
|
Answer» Windows service is a application that RUNS in the background. It is equivalent to a NT service. The EXECUTABLE created is not a Windows application, and hence you can’t just click and run it . it needs to be INSTALLED as a service, VB.Net has a facility where we can add an installer to our program and then USE a utility to install the service. Whereas this is not the case with standard EXE. Windows service is a application that runs in the background. It is equivalent to a NT service. The executable created is not a Windows application, and hence you can’t just click and run it . it needs to be installed as a service, VB.Net has a facility where we can add an installer to our program and then use a utility to install the service. Whereas this is not the case with standard exe. |
|
| 79. |
How Can A Win Service Developed In .net Be Installed Or Used In Win98? |
|
Answer» Windows SERVICE cannot be installed on Win9x machines even though the .NET FRAMEWORK RUNS on machine. Windows service cannot be installed on Win9x machines even though the .NET framework runs on machine. |
|
| 80. |
Can Two Different Programming Languages Be Mixed In A Single Asmx File? |
|
Answer» No. No. |
|
| 81. |
Is It Possible To Prevent A Browser From Caching An Aspx Page? |
|
Answer» Just CALL SetNoStore on the HttpCachePolicy object exposed through the RESPONSE object’s Cache property, as demonstrated here: Just call SetNoStore on the HttpCachePolicy object exposed through the Response object’s Cache property, as demonstrated here: |
|
| 82. |
How Does Dynamic Discovery Work? |
|
Answer» ASP.NET maps the FILE name extension VSDISCO to an HTTP handler that scans the host directory and subdirectories for ASMX and DISCO files and returns a dynamically generated DISCO document. A client who requests a VSDISCO file GETS BACK what appears to be a static DISCO document. ASP.NET maps the file name extension VSDISCO to an HTTP handler that scans the host directory and subdirectories for ASMX and DISCO files and returns a dynamically generated DISCO document. A client who requests a VSDISCO file gets back what appears to be a static DISCO document. |
|
| 83. |
What Are Vsdisco Files? |
|
Answer» VSDISCO files are DISCO files that support dynamic discovery of Web services. If you PLACE the FOLLOWING VSDISCO file in a directory on your Web server, for example, it returns references to all ASMX and DISCO files in the host directory and any subdirectories not NOTED in <EXCLUDE>ELEMENTS: VSDISCO files are DISCO files that support dynamic discovery of Web services. If you place the following VSDISCO file in a directory on your Web server, for example, it returns references to all ASMX and DISCO files in the host directory and any subdirectories not noted in <EXCLUDE>elements: |
|
| 84. |
True Or False: To Test A Web Service You Must Create A Windows Application Or Web Application To Consume This Service? |
|
Answer» False. False. |
|
| 85. |
What Is The Transport Protocol You Use To Call A Web Service Soap ? |
|
Answer» HTTP with SOAP |
|
| 86. |
What Is The Difference Between Xml Web Services Using Asmx And .net Remoting Using Soap? |
|
Answer» • XML Web services are more restricted than objects exposed over .NET Remoting. • XML Web services are more restricted than objects exposed over .NET Remoting. |
|
| 87. |
What Are The Data Types Supported By Web Services? |
|
Answer» .Net web services are built on XML-based standards for EXCHANGING data. This means .NET web services can support only those data types that can be recognized by the XML schema standard. There are many proprietary .Net objects such as FileSteam, Event log ETC. are not supported in the web services. These data types are .Net specific types that are not universally recognized, i.e. .Net specific only. .Net web services are built on XML-based standards for exchanging data. This means .NET web services can support only those data types that can be recognized by the XML schema standard. There are many proprietary .Net objects such as FileSteam, Event log etc. are not supported in the web services. These data types are .Net specific types that are not universally recognized, i.e. .Net specific only. |
|
| 88. |
Define The Specifications That Help In The Discovery Of A Web Service? |
|
Answer» DISCO DISCO |
|
| 89. |
Explain In Brief Web Service Standards? |
|
Answer» FOLLOWING are the standards used by WEB services: Following are the standards used by web services: |
|
| 90. |
Advantages Of .net Web Services? |
|
Answer» WEB Services are SUPPORTED on a wide range of platforms. Web Services are supported on a wide range of platforms. |
|
| 91. |
Web Services Vs. Corba And Dcom? |
|
Answer» Web services Web services |
|
| 92. |
Advantages Of The Distributed Components? |
|
Answer» • The key benefit of having distributed COMPONENTS is that they spread out the load over different machines. • The key benefit of having distributed components is that they spread out the load over different machines. |
|
| 93. |
Explain In Brief Different Distributed Technologies? |
|
Answer» The need of distributed technologies arises with the REQUIREMENT of distributed computing applications. The distributed computing allows partitioning of application logic into UNITS and SPREADING the unit over different computers of a network or across different networks. This helps in spreading out loads over many computers. The components once developed can be reuse by other applications. There are many technologies developed to allow the DISTRIBUTION and reuse of application logic. The need of distributed technologies arises with the requirement of distributed computing applications. The distributed computing allows partitioning of application logic into units and spreading the unit over different computers of a network or across different networks. This helps in spreading out loads over many computers. The components once developed can be reuse by other applications. There are many technologies developed to allow the distribution and reuse of application logic. |
|
| 94. |
Deploying A Web Service? |
|
Answer» DEPLOYING the .Net Web Services is as SIMPLE as any ASP.NET application. Similar to ASP.NET applications, you need to COPY or UPLOAD the .ASMX file and the .DISCO files to the appropriate directories, and that's it. Deploying the .Net Web Services is as simple as any ASP.NET application. Similar to ASP.NET applications, you need to copy or upload the .ASMX file and the .DISCO files to the appropriate directories, and that's it. |
|
| 95. |
Why Do We Need .net Web Services? |
|
Answer» We have a NUMBER of heterogeneous technologies available on INTERNET. The demand for REUSABLE components across platforms and programming languages are high. Most of the components have the limitation that they can't share or exchange data across different platforms, they are mostly language specific or platform specific. The technologies like COM, RMI, CORBA etc. contributed best to fulfill REQUIREMENTS to some extent, but components result from these said technologies are mostly either language specific or platform specific. We have a number of heterogeneous technologies available on internet. The demand for reusable components across platforms and programming languages are high. Most of the components have the limitation that they can't share or exchange data across different platforms, they are mostly language specific or platform specific. The technologies like COM, RMI, CORBA etc. contributed best to fulfill requirements to some extent, but components result from these said technologies are mostly either language specific or platform specific. |
|
| 96. |
Explain When Do We Required Asp.net Web Services? |
|
Answer» ASP.NET web services are the great way to expose your middle tier components via internet. These components offer no issue communicating across firewalls as they use SOAP as transport protocols that TRANSMIT structured data using HTTP channel. Thus, message can be easily EXCHANGED through port 80, i.e. through internet data port without being getting hampered by corporate firewalls or proxy server. ASP.NET web services are the great way to expose your middle tier components via internet. These components offer no issue communicating across firewalls as they use SOAP as transport protocols that transmit structured data using HTTP channel. Thus, message can be easily exchanged through port 80, i.e. through internet data port without being getting hampered by corporate firewalls or proxy server. |
|
| 97. |
Explain The Protocols A .net Web Service Uses? |
|
Answer» In .Net, a web service is bind with three different protocols such as HTTP/POST, HTTP/GET, and SOAP. This allows client with three options to choose for communication. The protocols are included in the WSDL file that is automatically generated in .NET. In .Net, a web service is bind with three different protocols such as HTTP/POST, HTTP/GET, and SOAP. This allows client with three options to choose for communication. The protocols are included in the WSDL file that is automatically generated in .NET. |
|
| 98. |
What Is .net Web Service? |
|
Answer» • Web service is the way to publish application's function on web that can be accessible to the rest of the world. • Web service is the way to publish application's function on web that can be accessible to the rest of the world. |
|
| 99. |
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.
Following are the steps to get a proxy object of a web service at the client side. |
|
| 100. |
Define Uddi, Disco And Wsdl? |
|
Answer» UDDI, Universal description, discovery and integration:
UDDI, Universal description, discovery and integration:
|
|