News:

SQL Table To C# Entity Model ConverterEntity Model (Class Properties) to SQL Table ConverterIf you encounter any trouble visiting our site, please contact us.

Online Test Web Services

  1. [XmlElement(Namespace:="http://address")]

  2. [XmlElement(ns="http://address")]

  3. [XmlElement(Namespace="http://address")]

  4. None of the above

Answer: Answer is c

  1. Asynchronous pattern decreases the performance of your application

  2. While using asynchronous pattern, you add two methods: StartYourMethod and EndYourMethod (where YourMethod is the actual name of your method)

  3. The "End" method does not require any special attributes

  4. Unless you have a compelling reason to do otherwise, always use the asynchronous pattern when you consume Web services in your production code

  5. All of the above

Answer: Answer is c, d

Answer: Answer is b

  1. Standard based

  2. Modular

  3. Federated

  4. None of the above

Answer: Answer is c
Further Reading:

Useful resources, Federation is a design methodology for spreading out processes, components, and machines in a way that removes single points of failure. NET Web Services: Architecture and Implementation By Keith Ballinge- Page 12


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. }

  1. line 1

  2. line 3

  3. line 4

  4. line 5

  5. All of the above

Answer: Answer is a, b

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.

  1. Statement 1 is true but statement 2 is false

  2. Statement 1 is false but statement 2 is true

  3. Both the statements are true

  4. Both the statements are false

Answer: Answer is c

  1. RSACryptoServiceProvider

  2. DSACryptoServiceProvider

  3. RijndaelManaged

  4. All of the above

Answer: Answer is c

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.}

  1. 2

  2. 4

  3. 5

  4. 7

  5. 10

  6. None of the above

Answer: Answer is b, d

  1. IUserAgent

  2. IHttpFilter

  3. IHttpModule

  4. None of the above

Answer: Answer is d
Further Reading:

Module that will send a SOAP fault for any requests that don't include the right user-agent in the HTTP headers. In this case, the user-agent must be "Cool UserAgent". We will need to import the System and System.Web namespace, and make sure that our class implements the IHttpModule interface.Useful resources, .NET Web Services: Architecture and Implementation By Keith Ballinge- Page 128


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.

  1. Statement 1 is true but statement 2 is false

  2. Statement 1 is false but statement 2 is true

  3. Both the statements are true

  4. Both the statements are false

Answer: Answer is b
Further Reading:

A logical name is a URI that doesn't necessarily represent the exact location to which to send a message. Instead, a logical name can have a very different location than the one implied by its logical name—or even multiple physical locations. Useful resources, .NET Web Services: Architecture and Implementation By Keith Ballinge- Page 236


Advertisement

BCS Preparation now even more easy. ReadBD is the place where you can find all kind of resources to be successful in BCS,Bank,Islami Bank exam and interview.

Looking for job. Try JobLoader- First ever job search engine in Bangladesh. All open bd jobs now a single mouse click away.

;