Answer
Correct Answer:
person name='joe smith'>
Note: This Question is unanswered, help us to find answer for this one
Check Answer
7. 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". Which of the following interface should your Web service class implement?
IUserAgent
IHttpFilter
IHttpModule
None of the above
Answer
Correct Answer:
IHttpModule
Note: This Question is unanswered, help us to find answer for this one
Check Answer
8. Which of the following transport protocols can be used for communication of Web service?
TCP/IP
UDP
HTTP
SMTP
All of the above
Answer
Correct Answer:
All of the above
Note: This Question is unanswered, help us to find answer for this one
Check Answer
9. Which of the following classes provides the symmetric encryption functionality, a major form of encryption?
RSACryptoServiceProvider
DSACryptoServiceProvider
RijndaelManaged
All of the above
Answer
Correct Answer:
RijndaelManaged
Note: This Question is unanswered, help us to find answer for this one
Check Answer
10. 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 deserialization functionality?
XmlSerializer
xmlSerialization
xmlSerialize
None of the above
Answer
Correct Answer:
XmlSerializer
Note: This Question is unanswered, help us to find answer for this one
Check Answer
11. Which design methodology spreads out processes, components, and machines in a way that removes single points of failure?
Standard based
Modular
Federated
None of the above
Answer
Correct Answer:
Federated
Note: This Question is unanswered, help us to find answer for this one
Check Answer
12. You are writing a document-encoded client for your Web service
[SoapDocumentMethod(
[SoapDocumentMethod(
[SoapDocumentMethod(
[SoapDocumentMethod(
Answer
Correct Answer:
[SoapDocumentMethod(
Note: This Question is unanswered, help us to find answer for this one
Check Answer
13. XML Serialization uses stream-based parsers in System.Xml. Which of the following types of streams can be used for serialization and deserialization?
NetworkStream
FileStream
Stream
All of the above
Answer
Correct Answer:
All of the above
Note: This Question is unanswered, help us to find answer for this one
Check Answer
14. Which of the following is correct with regard to SOAP Faults?
SOAP Faults communicate information about errors that may have occurred during the processing of a SOAP message
SOAP Faults generate a fault during the processing of a SOAP message
SOAP Faults describe those faults which are not covered
None of the above
Answer
Correct Answer:
SOAP Faults communicate information about errors that may have occurred during the processing of a SOAP message
Note: This Question is unanswered, help us to find answer for this one
Check Answer
15. Which of the following are correct with regard to XML serialization?
XML Serialization is not designed to serialize any CLR object into XML
XML Serialization is designed to map classes to schemas, and object instances of those classes to XML instances of those schemas
The basis of XML Serialization is not the CLR type system; rather, it is the XSD Schema type system
All of the above
Answer
Correct Answer:
All of the above
Note: This Question is unanswered, help us to find answer for this one
Check Answer
17. 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 a message can be sent over any transport that is chosen.
Statement 2: SOAP uses different envelope formats for different transports.
Statement 1 is true but statement 2 is false
Statement 1 is false but statement 2 is true
Both the statements are true
Both the statements are false
Answer
Correct Answer:
Statement 1 is true but statement 2 is false
Note: This Question is unanswered, help us to find answer for this one
Check Answer
18. Refer to the following SOAP message and identify the incorrect child element of the Fault element:
Client.Authentication
Invalid credentials
http://acme.com
Note: This Question is unanswered, help us to find answer for this one
Check Answer
19. Which of the following does the acronym DIME stand for?
Direct Internet Mail Extension
Direct Internet Message Encapsulation
Direct Internet Mail Encapsulation
Direct Internet Message Extension
None of the above
Answer
Correct Answer:
Direct Internet Message Encapsulation
Note: This Question is unanswered, help us to find answer for this one
Check Answer
20. Which of the following are correct with regard to WSDL?
WSDL is used for describing the network services offered by the client
WSDL is used for describing the network services offered by the Server
WSDL is XML based
The WSDL file describes the message format that the client must follow
Answer
Correct Answer:
WSDL is used for describing the network services offered by the Server WSDL is XML based
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
Check Answer
21. Which of the following protocols form the basis of the Web Service Architecture?
SOAP
WSDL
UDDI
CORBA
All of the above
Answer
Correct Answer:
SOAP WSDL UDDI
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
Check Answer
22. Which of the following are correct with regard to WS-Routing?
WS-Routing determines the intent of a SOAP message
Messages can be sent to logical locations
The Web Services Enhancements for Microsoft .NET (WSE) do not support WS-Routing
All of the above
Answer
Correct Answer:
WS-Routing determines the intent of a SOAP message Messages can be sent to logical locations
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
Check Answer
23. 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?
HTTP filters
HTTP modules
HTTP formatters
All of the above
Answer
Correct Answer:
HTTP filters
Note: This Question is unanswered, help us to find answer for this one
Check Answer
24. Gavin wants to read the WSDL of his Web service as 'QBankWS'. Which class is capable of keeping the WSDL?
WSDescription
WebServiceDescription
ServiceDescription
None of the above
Answer
Correct Answer:
ServiceDescription
Note: This Question is unanswered, help us to find answer for this one
Check Answer
25. What does WSDL stand for?
Windows Services Description Language
Web Servlets Description Language
Web Services Description Language
Web Services Documentation Language
Answer
Correct Answer:
Web Services Description Language
Note: This Question is unanswered, help us to find answer for this one
Check Answer
26. Which of the following can be encrypted with an XML encryption?
The value of an XML node
A node (an XML element)
An entire XML document
All of the above
Answer
Correct Answer:
All of the above
Note: This Question is unanswered, help us to find answer for this one
Check Answer
27. 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?
xmlValidateTextReader
xmlValidtor
XmlTextReader
XmlValidatingReader
None of the above
Answer
Correct Answer:
XmlValidatingReader
Note: This Question is unanswered, help us to find answer for this one
Check Answer
28. Which entity type holds information about specific businesses or corporate entities?
BusinessService
BusinessEntity
CorporationEntity
None of the above
Answer
Correct Answer:
BusinessEntity
Note: This Question is unanswered, help us to find answer for this one
Check Answer
29. Which of the following are correct with regard to data types in SOAP?
They are of any data type from any other programming language
They are specified in the XML Schema specification
They are derived from data types specified in the XML Schema specification
All of the above
Answer
Correct Answer:
They are specified in the XML Schema specification They are derived from data types specified in the XML Schema specification
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
Check Answer
30. 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?
VersionMismatch
MustUnderstand
InvalidMessage
Server
Client
None of the above
Answer
Correct Answer:
InvalidMessage
Note: This Question is unanswered, help us to find answer for this one
Check Answer
31. While creating a client application for a Web service called 'QuestionBank', which of the following should be extended by the client class 'Service1'?
SoapHttpClientProtocol
SoapClientProtocol
WSDLClientProtocol
SoapHttpClient
None of the above
Answer
Correct Answer:
SoapHttpClientProtocol
Note: This Question is unanswered, help us to find answer for this one
Check Answer
32. 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 .net Web Services?
types
message
portType
All of the above
Answer
Correct Answer:
All of the above
Note: This Question is unanswered, help us to find answer for this one
Check Answer
33. Which of the following XML related technologies are part of the .NET Framework
XML DOM
XML Streaming
XML Schema
All of the above
Answer
Correct Answer:
All of the above
Note: This Question is unanswered, help us to find answer for this one
Check Answer
34. Refer to the following code snippet:
...
1. XmlSerializer ser = new XmlSerializer( typeof(ServiceDescription) );
2. FileStream objFile = new FileStream( txtWSDL.Text, FileMode.Open );
3. ServiceDescription objSD = ser.Deserialize( file );
4. file.Close();
...
The code given above opens a WSDL file in the fileStream object
Note: This Question is unanswered, help us to find answer for this one
Check Answer
35. 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?
coded
messagetext
found
retryAfter
All of the above
Answer
Correct Answer:
found retryAfter
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
Check Answer
36. Which Fault type is used when an error occurs that cannot be directly linked to the processing of the message?
MustUnderstand
Server
Client
None of the above
Note: This Question is unanswered, help us to find answer for this one
Check Answer
37. 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 set the SoapOnewayMethod attribute
You need to bind the soap method with the VoidMethod property
You need to set the 'OneWay' property to true of the WebServiceBinding attribute
You need to set the 'OneWay' property to true of the SoapDocumentMethod or SoapRpcMethod attribute
None of the above
Answer
Correct Answer:
You need to set the 'OneWay' property to true of the SoapDocumentMethod or SoapRpcMethod attribute
Note: This Question is unanswered, help us to find answer for this one
Check Answer
38. Which of the following are correct with regard to WS-Referral protocol?
WS-Referral describes a schema for describing referrals
One problem with the current draft specification of WS-Referral is that it does not use 'ttl' for the expiration
WS-Referral statements can state a
All of the above
Answer
Correct Answer:
WS-Referral describes a schema for describing referrals WS-Referral statements can state a
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
Check Answer
39. Which of the following are the limitations of XML serialization?
Only Classes with a Public Default Constructor will be serialized
Only Public Fields and Properties will be serialized
Read-Only Fields and Properties will not be serialized
Methods and Other Type Information will not be serialized
All of the above
Answer
Correct Answer:
All of the above
Note: This Question is unanswered, help us to find answer for this one
Check Answer
40. Which of the following code snippets are serializable?
public class Order { public System.Xml.XmlElement OrderDescription; public int Quantity; public String Name; }
public class Order { [XmlAnyAttribute] public System.Xml.XmlAttribute[] anyAttributes; public System.Xml.XmlElement OrderDescription; public int Quantity; public String Name; }
public class Order { [XmlAnyElement] public System.Xml.XmlElement[] extraElements; public System.Xml.XmlElement OrderDescription; public int Quantity; public String Name; }
All of the above
Answer
Correct Answer:
All of the above
Note: This Question is unanswered, help us to find answer for this one
Check Answer
41. 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 or another machine uses.
Statement 1 is true but statement 2 is false
Statement 1 is false but statement 2 is true
Both the statements are true
Both the statements are false
Answer
Correct Answer:
Both the statements are true
Note: This Question is unanswered, help us to find answer for this one
Check Answer
42. Mark intends to use Web services of
Inquire.Url =
Inquire.Url =
Inquire.Url =
None of the above
Answer
Correct Answer:
Inquire.Url =
Note: This Question is unanswered, help us to find answer for this one
Check Answer
43. 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?
Encode the binary data as a string
Package the SOAP message into MIME
Package the SOAP message into DIME
All of the above
Answer
Correct Answer:
All of the above
Note: This Question is unanswered, help us to find answer for this one
Check Answer
44. 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?
System.web.Security.Encryption;
System.Cryptography;
System.Security.Cryptography;
None of the above
Answer
Correct Answer:
System.Security.Cryptography;
Note: This Question is unanswered, help us to find answer for this one
Check Answer
45. 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 Namespace of the Serialized XML will be http://tempuri.org by default
Properties and Fields will remain in the same Namespace
Properties and Fields will be serialized as Elements
All of the above
Answer
Correct Answer:
All of the above
Note: This Question is unanswered, help us to find answer for this one
Check Answer
46. 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 XmlValidatingReader(stream);
...
Gavin is trying to open an xml which contains "order details" returned by a Web service, through this code, but an error is being generated in the code. Which of the following might be the cause of error?
XmlValidatingReader is not a valid class
In the constructor of XmlValidatingReader, FileStream object is passed instead of XmlTextReader object
In the constructor of XmlValidatingReader, FileStream object is passed instead of XmlReader object
Answer
Correct Answer:
In the constructor of XmlValidatingReader, FileStream object is passed instead of XmlTextReader object
Note: This Question is unanswered, help us to find answer for this one
Check Answer
47. The following code has stored the data using the multiple-referenced accessor:
Which of the following is the correct way to solve the error in the code given above?
* must be prefixed with href value
* must be prefixed with id value
# must be prefixed with href value
# must be prefixed with id value
Answer
Correct Answer:
# must be prefixed with href value
Note: This Question is unanswered, help us to find answer for this one
Check Answer
48. Which of the following is the correct position of the header in a SOAP message?
Only before the body
Only after the body
Only before the envelope
Anywhere in the message
Answer
Correct Answer:
Only before the body
Note: This Question is unanswered, help us to find answer for this one
Check Answer
50. 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 services are literal schema-based XML. They are not encoded XML.
Statement 1 is true but statement 2 is false
Statement 1 is false but statement 2 is true
Both the statements are true
Both the statements are false
Answer
Correct Answer:
Both the statements are true
Note: This Question is unanswered, help us to find answer for this one
Check Answer
51. 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 class member, and (b) any number of child elements, one for each value in the array.
Note: This Question is unanswered, help us to find answer for this one
Check Answer
52. Which of the following is an invalid child of a Fault element of a SOAP message?
faultcode
faultstring
faultactor
faultdescription
Answer
Correct Answer:
faultdescription
Note: This Question is unanswered, help us to find answer for this one
Check Answer
53. 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 wsdl.exe to add the SOAP extension to any proxy class it consumes that contains this indication. Which of the following should you apply to accomplish this?
WSDLFormatter
WebServiceClientExtension
WSDLExtensionFormatter
ServiceDescriptionFormatter
None of the above
Answer
Correct Answer:
ServiceDescriptionFormatter
Note: This Question is unanswered, help us to find answer for this one
Check Answer
54. Refer to the following code of a SOAP message and identify the error:
xmlns:s="http://www.w3.org/2001/06/soap-envelope">
Mistristic
s:mustUnderstand="true">
1234
The Namespace is incorrect
The position of the header is incorrect
The body cannot contain a symbol element
MustUnderstand is not an attribute of the transaction element
Answer
Correct Answer:
The position of the header is incorrect
Note: This Question is unanswered, help us to find answer for this one
Check Answer
55. In the .NET UDDI SDK, which of the following contains the businessEntity structure?
WSBusinessEntity
BusinessClass
BusinessEntity
WSBusinessClass
None of the above
Answer
Correct Answer:
BusinessEntity
Note: This Question is unanswered, help us to find answer for this one
Check Answer
56. Which of the following is not a correct statement regarding schema?
The schema element can contain any number of top-level declarations
The XML schema language is based on the Worldwide Web Consortium (W3C)
The definitions in an XML schema are contained within the top-level schema element
The schema element in an XML schema document cannot use a namespace
Answer
Correct Answer:
The schema element in an XML schema document cannot use a namespace
Note: This Question is unanswered, help us to find answer for this one
Check Answer
57. 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?
RECOVER
ROLLOVER
FEDERATION REPAIR
None of the above
Note: This Question is unanswered, help us to find answer for this one
Check Answer
58. 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. findBusiness.Names.Add("Royal Airways");
4. BusinessList list = findBusiness.Find();
5. if (list.BusinessInfos.Count > 0)
6. {
7. GetBusinessInfo gb = new GetBusinessInfo();
8. gb.BusinessKeys.Add(bizList.BusinessInfos[0].BusinessKey);
9. BusinessDetail bizDetail = gb.Send();
10. if (bizDetail.BusinessEntities.Count > 0)
11. {
12. ...
13. }
14.}
...
None of the above
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
Check Answer
59. WSDL is an XML-based language for describing Web services. Which of the following are correct regarding the functioning of WSDL?
WSDL forces a clean separation between data (as found in messages)
WSDL provides the abstract definition of a set of message-sending operations
WSDL provides the particular binding information needed to format and to send a message correctly
All of the above
Answer
Correct Answer:
All of the above
Note: This Question is unanswered, help us to find answer for this one
Check Answer
60. 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?
XML Schema
SOAP Engine
XML Serialization
None of the above
Answer
Correct Answer:
XML Serialization
Note: This Question is unanswered, help us to find answer for this one
Check Answer
61. 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'. Which code will you apply to accomplish this?
localhost.Service1.UserAgent = this.textBox1.Text;
localhost.Service1 s = new localhost.Service1(); s.UserAgent = this.textBox1.Text;
localhost.Service1.UserAgent ua = new localhost.Service1.UserAgent(); ua.value = this.textBox1.Text;
None of the above
Answer
Correct Answer:
localhost.Service1 s = new localhost.Service1(); s.UserAgent = this.textBox1.Text;
Note: This Question is unanswered, help us to find answer for this one
Check Answer
62. 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 TestClass {
5. [WebMethod]
6. public int Add( int a, int b)
7. {
8. return a+b;
9. }
10. }
Answer
Correct Answer:
line 1
line 3
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
Check Answer
63. Which of the following information does a server need to publish in order to meet a client's needs?
Description Information
Service Location
Service Schema
Service Classification
All of the above
Answer
Correct Answer:
Description Information Service Location Service Classification
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
Check Answer
64. 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 set the Use property of the [SoapRpcMethod("http://mySoapAction")] attribute to indicate that this client is encoded, and not literal XML.
Statement 1 is true but statement 2 is false
Statement 1 is false but statement 2 is true
Both the statements are true
Both the statements are false
Answer
Correct Answer:
Statement 1 is true but statement 2 is false
Note: This Question is unanswered, help us to find answer for this one
Check Answer
65. Which of the following does the acronym UDDI stand for?
Universal Description, Discovery, and Investigation
Universal Description, Discovery, and Integration
Universal Discovery, Definition , and Integration
None of the above
Answer
Correct Answer:
Universal Description, Discovery, and Integration
Note: This Question is unanswered, help us to find answer for this one
Check Answer
66. 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?
find_binding
find_business
find_service
find_Model
All of the above
Answer
Correct Answer:
find_binding find_business find_service
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
Check Answer
67. 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 class attribute should he use to make all methods of a class RPC-encoded?
SoapRpcMethodsAttribute
SoapRpcServiceAttribute
SoapRpcServiceMethodsAttribute
SoapRpcService
None of the above
Answer
Correct Answer:
SoapRpcServiceAttribute
Note: This Question is unanswered, help us to find answer for this one
Check Answer
68. Which of the following are correct with regard to asynchronous pattern?
Asynchronous pattern decreases the performance of your application
While using asynchronous pattern, you add two methods: StartYourMethod and EndYourMethod (where YourMethod is the actual name of your method)
The
Unless you have a compelling reason to do otherwise, always use the asynchronous pattern when you consume Web services in your production code
Answer
Correct Answer:
The Unless you have a compelling reason to do otherwise, always use the asynchronous pattern when you consume Web services in your production code
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
Check Answer
69. 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://MyNS")]
2. public class CustomWebMethods : SoapHttpClientProtocol
3. {
4. public CustomWebMethods()
5. {
6. this.Url = "http://localhost:8080";
7. }
8. [DocumentMethod("http://mySoapAction")]
9. public int Add( int x, int y)
10. {
11. Object[] args = {x, y};
12. Object[] responseMessage = this.Invoke( "Add", args );
13. return ((int)(responseMessage[0]));
14. }
15.}
Note: This Question is unanswered, help us to find answer for this one
Check Answer
70. 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?
public String[] Street;[XmlArray(
[XmlArray(
public String[] Street; [XmlArrayName(
None of the above
Answer
Correct Answer:
[XmlArray(
Note: This Question is unanswered, help us to find answer for this one
Check Answer
71. Which of the following represents a structure in a SOAP message?
person> Joe Smith
None of the above
Answer
Correct Answer:
person> Joe Smith
Note: This Question is unanswered, help us to find answer for this one
Check Answer
72. 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 following is that abstract class?
Symmetric-Security
Symmetric-Algorithm
Symmetric-Encryption
None of the above
Answer
Correct Answer:
Symmetric-Encryption
Note: This Question is unanswered, help us to find answer for this one
Check Answer
73. Which of the following should you know to send a message correctly while using Web service?
The IP address and other endpoint information
The response schema to expect if there is a response
Possible headers that may be expected in the request or response, and the schema for those
All of the above
Answer
Correct Answer:
All of the above
Note: This Question is unanswered, help us to find answer for this one
Check Answer
74. Refer to the statements given below and identify the incorrect element:
Client.Authentication
Invalid credentials
http://acme.com
Answer
Correct Answer:
s:Faults>
Note: This Question is unanswered, help us to find answer for this one
Check Answer
75. Which of the following child elements of a Fault element is used to express application-specific details about the error that occurred?
details
description
detail
comment
Note: This Question is unanswered, help us to find answer for this one
Check Answer
76. 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.
Statement 2: A logical name can have a very different location than the one implied by its logical name, or even multiple physical locations.
Statement 1 is true but statement 2 is false
Statement 1 is false but statement 2 is true
Both the statements are true
Both the statements are false
Answer
Correct Answer:
Statement 1 is false but statement 2 is true
Note: This Question is unanswered, help us to find answer for this one
Check Answer
77. Which of the following classes is the base class for Soap Extensions?
System.Web.Services.Protocols.SoapExtension
System.Web.Services.Protocols.SoapExtensions
System.Web.Services.SoapExtension
System.Web.Services.SoapExtensions
None of the above
Answer
Correct Answer:
System.Web.Services.Protocols.SoapExtension
Note: This Question is unanswered, help us to find answer for this one
Check Answer
78. 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 using nothing more than a simple message encoded in a way that both the applications understand. Which of the following aspects are required to implement this?
The types of information that are being exchanged
The way that information is to be expressed as XML
The way to actually send that information
None of the above
Answer
Correct Answer:
The types of information that are being exchanged The way that information is to be expressed as XML The way to actually send that information
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
Check Answer
79. Which of the following are correct with regard to WS-Inspection?
WS-Inspection is a simple XML format for gathering together available services
WS-Inspection describes the service policy
WS-Inspection has the ability to link to UDDI registrations that give more information about a listed service
WS-Inspection documents have a root element with the local name WSInspection
All of the above
Answer
Correct Answer:
WS-Inspection is a simple XML format for gathering together available services WS-Inspection has the ability to link to UDDI registrations that give more information about a listed service
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
Check Answer
80. 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 other namespaces. For example, it is possible to have namespaces with the same name but different namespaces (and thus with different meanings). Which of the following statements correctly binds a namespace with an element?
[XmlElement(Namespace:=
[XmlElement(ns=
[XmlElement(Namespace=
None of the above
Answer
Correct Answer:
[XmlElement(Namespace=
Note: This Question is unanswered, help us to find answer for this one
Check Answer
81. 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 you do to notify a soap extension?
You will register the extension in the machine.config file
You will register the extension with the application's configuration file
You will pass method-specific information to the extension via the attribute
You will do all of the above
Answer
Correct Answer:
You will do all of the above
Note: This Question is unanswered, help us to find answer for this one
Check Answer
82. Which of the following are correct with regard to operations of WS-Routing?
WS-Routing enables the specification of a message's forward message path
WS-Routing does not support the specification of a reverse message path
WS-Routing provides the capability to give messages unique identifiers, and then specify the other messages to which they relate
All of the above
Answer
Correct Answer:
WS-Routing enables the specification of a message's forward message path WS-Routing provides the capability to give messages unique identifiers, and then specify the other messages to which they relate
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
Check Answer
83. Mike is writing a RPC-encoded client for his Web service. Which attribute will he use for RPC implementation?
[RpcSoapMethod(
[RpcMethod(
[SoapRpcMethod(
[SoapRpcAction(
None of the above
Answer
Correct Answer:
[SoapRpcMethod(
Note: This Question is unanswered, help us to find answer for this one
Check Answer
84. Which of the following namespaces is used for encoding style in SOAP?
http://www.w3.org/2001/06/soap/soapEncoding
http://www.w3.org/2001/06/soap-encoding
http://www.w3.org/2001/06/soapEncoding
http://www.w3.org/2001/06/soap/soap-encoding
Answer
Correct Answer:
http://www.w3.org/2001/06/soap-encoding
Note: This Question is unanswered, help us to find answer for this one
Check Answer
85. Client access is accomplished via custom proxy classes that use the WebRequest and HttpWebRequest classes. Which kinds of .NET applications use these proxy classes?
Windows form
Web form
Web service
All of the above
Answer
Correct Answer:
All of the above
Note: This Question is unanswered, help us to find answer for this one
Check Answer
86. 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?
The hash is a nearly unique digest of the message
The hash is encrypted using the public key of the sender
The encrypted hash serves as a signature of the sender and is sent separately from the decrypted message
The hash is the opposite of the usual process used in encryption, in which the public key is used to encrypt, and the plain text is not sent
Answer
Correct Answer:
The hash is a nearly unique digest of the message The hash is the opposite of the usual process used in encryption, in which the public key is used to encrypt, and the plain text is not sent
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
Check Answer
87. 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 use to verify this?
Deserizable
Compatible
Equals
CanDeserialize
None of the above
Answer
Correct Answer:
CanDeserialize
Note: This Question is unanswered, help us to find answer for this one
Check Answer
88. You are developing a Web service in ASP.NET. Which of the following .net classes will be extended by your service?
System.Web.WebService
System.Web.Service
System.Web.Services.Service
System.Web.Services.WebService
None of the above
Answer
Correct Answer:
System.Web.Services.WebService
Note: This Question is unanswered, help us to find answer for this one
Check Answer
Web Services MCQs | Topic-wise