Web Services Test
Before you deserialize, you want to make sure that the XML you are about to deserialize will map into the class with which you instantiated this serializer. Which of the following methods will you ...
Client access is accomplished via custom proxy classes that use the WebRequest and HttpWebRequest classes. Which kinds of .NET applications use these proxy classes?
Creating a hash with a public key encryption is the ability to verify the integrity of data without necessarily encrypting it. Which of the following are correct with regard to HASH?
Gavin wants to read the WSDL of his Web service as 'QBankWS'. Which of the following classes is capable of keeping the WSDL?
In the .NET UDDI SDK, which of the following contains the businessEntity structure?
Mark intends to use Web services of 'Royal Airways' in his application. He is searching for UDDI APIs, available in the .net library. Which of the following codes should he apply in this scenario?
Mark is developing a Web service that handles RPC-encoded operations. He wants to make all the methods of the service RPC-encoded, but does not want to put any attribute for each method. Which clas...
Mike has built the following document literal web service client class by hand. This code contains an invalid syntax in one line. Identify this line. 1. [WebServiceBinding("MyBinding", "http://MyN...
Mike is writing a RPC-encoded client for his Web service. Which attribute will he use for RPC implementation?
Often you will want child elements of XML to be in the same namespace as their parent XML elements, and this makes sense for a lot of XML documents. However, sometimes child elements will be in oth...
Refer to the code given below and identify the line numbers that contain errors: .. 1. Inquire.Url = "http://uddi.rte.microsoft.com/inquire"; 2. FindBusiness findBusiness = new FindBusiness(); 3. f...
Refer to the following code of a SOAP message and identify the error: <s:Envelope xmlns:s="http://www.w3.org/2001/06/soap-envelope"> <s:Body> <n:getQuote xmlns:n="urn:QuoteService"> <symbol xsi:ty...
Refer to the following code snippet: ... 1. XmlSerializer ser = new XmlSerializer( typeof(ServiceDescription) ); 2. FileStream objFile = new FileStream( txtWSDL.Text, FileMode.Open ); 3. ServiceDes...
Refer to the following code, which is a part of an xml validation: ... filename = "OrderDetails.xml"; FileStream stream = new FileStream( filename , FileMode.Open); XmlValidatingReader reader = new...
Refer to the following SOAP message and identify the incorrect child element of the Fault element: <s:Envelope xmlns:s="..."> <s:Body> <s:Fault> <faultcode>Client.Authentication</faultcode> <fault...
Refer to the following statements and identify the lines that are invalid: 1. <%@ Service Class="TestClass" Language="C#" %> 2. using System; 3. using System.Web.Service; 4. public class TestCla...
Refer to the statements given below and identify the incorrect element: <s:Envelope xmlns:s="..."> <s:Body> <s:Faults> <faultcode>Client.Authentication</faultcode> <faultstring> Invalid credential...
Referring to the statements given below, which of the following is correct? Statement 1: One of the most powerful design decisions with SOAP was to make it transport independent, which means that ...
Security is a hard-to-use feature in .Net. On the contrary, it is rather easy to implement in Web services. Which of the following namespaces is used for encryption?
SOAP defines four standard types of Faults that belong to the http://www.w3.org/2001/06/soap-envelope namespace. Which of the following is the incorrect Fault code?
Sometimes, you will want the WSDL file created for your service to indicate that it will be modified by the SOAP extension running on it. Conversely, you will want the proxy generated for you from ...
State whether True or False: When you serialize an array that is a member of a class, the result is a piece of structured XML that contains (a) a top element which is, by default, the name of the ...
The extensibility of Web services through the .NET Framework and ASP.NET Web Services contributes to the power and dynamic nature of Web services. Which of the following are correct with regard to ...
The following code has stored the data using the multiple-referenced accessor: <Person> <Address href="address1" /> </Person> <Address id="address1" /> Which of the following is the correct way t...
The fundamental idea behind SOAP is that two applications; regardless of the operating system, the programming language, or any other technical implementation detail, may openly share information u...
The namespace, System.Security.Cryptography has an abstract class, from which specific implementations of various symmetric, or private keys, and encryption algorithms are derived. Which of the fol...
The System.Xml.Serialization namespace contains classes that are used to serialize objects into XML format documents or streams. Which serialization class provides the serialization and deserializa...
The two major features in .NET are the ability to create XML Web Services Servers and XML Web Services Clients. Which of the following is the engine that drives most of these features?
The use of attributes in a class and its members can affect the XML into which it serializes. Which of the following rules apply when a class is serialized?
The Web service infrastructure comes with a special SOAP-based extension feature that enables you to extend the functionality of your Web service or Web service client. Which of the following will ...
What does WSDL stand for?
When building a Web service, the Web Services Description Language (WSDL) is the most popular option for describing Web services. Which of the following sections are abstract parts of a WSDL in .ne...
When reading a stream of XML in .Net, it can be verified that it is valid according to its schema. Which class is capable of performing the schema validation?
Which design methodology spreads out processes, components, and machines in a way that removes single points of failure?
Which entity type holds information about specific businesses or corporate entities?
Which Fault type is used when an error occurs that cannot be directly linked to the processing of the message?
Which of the following allows you, as a developer, to intercept every request that comes into an ASP.NET Web Service at various events, such as when the request begins, or when an error occurs?
Which of the following are correct with regard to operations of WS-Routing?
Which of the following are correct with regard to asynchronous pattern?
Which of the following are correct with regard to data types in SOAP?
Which of the following are correct with regard to WS-Inspection?
Which of the following are correct with regard to WS-Referral protocol?
Which of the following are correct with regard to WS-Routing?
Which of the following are correct with regard to WSDL?
Which of the following are correct with regard to XML serialization?
Which of the following are the limitations of XML serialization?
Which of the following can be encrypted with an XML encryption?
Which of the following child elements of a Fault element is used to express application-specific details about the error that occurred?
Which of the following classes is the base class for Soap Extensions?
Which of the following classes provides the symmetric encryption functionality, a major form of encryption?
Which of the following code snippets are serializable?
Which of the following does the acronym DIME stand for?
Which of the following does the acronym UDDI stand for?
Which of the following information does a server need to publish in order to meet a client's needs?
Which of the following is a process of making resources and services available on a new system, when the previous system fails while using a federated Web service design?
Which of the following is an example of referring an external document through a SOAP envelope?
Which of the following is an invalid child of a Fault element of a SOAP message?
Which of the following is correct with regard to SOAP Faults?
Which of the following is correct with regard to the statements given below? Statement 1: A logical name is a URI that necessarily represents the exact location to which a message is sent. Stateme...
Which of the following is correct with regard to the statements given below? Statement 1: A Web service is not a web site that a user reads. Statement 2: A Web service is something another process...
Which of the following is correct with regard to the statements given below? Statement 1: RPC-encoded clients are very similar to document-encoded ones. Statement 2: RPC-encoded clients need to se...
Which of the following is not a correct statement regarding schema?
Which of the following is the correct position of the header in a SOAP message?
Which of the following is true with regard to .NET Web services? Statement 1:.NET Web services use the XmlSerializer as the engine for sending and receiving SOAP messages. Statement 2:.NET Web ser...
Which of the following namespaces is used for encoding style in SOAP?
Which of the following protocols form the basis of the Web Service Architecture?
Which of the following represents a structure in a SOAP message?
Which of the following represents an array in a SOAP message?
Which of the following rules must be kept in mind while using SOAP with DIME?
Which of the following should you know to send a message correctly while using Web service?
Which of the following transport protocols can be used for communication of Web service?
Which of the following XML related technologies are part of the .NET Framework's XML technology?
Which of the following xml tags does not come with a DISCO document automatically generated by .NET?
While creating a client application for a Web service called 'QuestionBank', which of the following should be extended by the client class 'Service1'?
WS-Routing specifies a series of elements that can send a SOAP Fault message in response to an error. Which of the following elements are relevant to the SOAP Fault message specified by WS-Routing?
WSDL is an XML-based language for describing Web services. Which of the following are correct regarding the functioning of WSDL?
XML Serialization uses stream-based parsers in System.Xml. Which of the following types of streams can be used for serialization and deserialization?
You are developing a Web service in ASP.NET. Which of the following .net classes will be extended by your service?
You are writing a document-encoded client for your Web service 'ShareQuotes'. Which of the following indicates that this encoded client is not literal XML?
You create a webservice which will send a SOAP fault for any request that does not include the right user-agent in the HTTP headers. In this case, the user-agent must be "BasicInfo UserAgent". Whic...
You have created a Web service named 'Service1'. The client application of 'Service1' has a textbox called 'textbox1' and you want to set the value of textbox1.text as UserAgent of 'Service1'. Whic...
You have written a method in your Web service which returns a void value. In order to make a one-way communication, which of the following do you need to do?
You need to send an image from a Web server to an image server in order to customize the image for the Web surfer. Which of the following options will you use to send binary data with a SOAP message?
You need to serialize an array named 'Street'. You want to set the array name as 'StreetName' after serialization. Which of the following codes will serialize the array correctly?
You use UDDI operations to find something when you do not know specifically what you are looking for. Which of the following UDDI operations fall in this category?