1. Question: 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?

    A
    The Namespace of the Serialized XML will be http://tempuri.org by default

    B
    Properties and Fields will remain in the same Namespace

    C
    Properties and Fields will be serialized as Elements

    D
    All of these

    Note: Answer not sure
    1. Report
  2. Question: 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?

    A
    System.web.Security.Encryption;

    B
    System.Cryptography;

    C
    System.Security.Cryptography;

    D
    None of these

    Note: Answer not sure
    1. Report
  3. Question: 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?

    A
    Encode the binary data as a string

    B
    Package the SOAP message into MIME

    C
    Package the SOAP message into DIME

    D
    All of these

    Note: Answer not sure
    1. Report
  4. Question: 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?

    A
    Inquire.Url = "http://uddi.rte.microsoft.com/inquire"; FindBusiness fb = new FindBusiness(); fb.Names.Add("Royal Airways"); BusinessList list = fb.Send();

    B
    Inquire.Url = "http://uddi.rte.microsoft.com/inquire"; FindBusiness fb = new FindBusiness(); BusinessList list = fb.find("Royal Airways");

    C
    Inquire.Url = "http://uddi.rte.microsoft.com/inquire"; FindBusiness fb = new FindBusiness(); BusinessList list = fb.Send("Royal Airways");

    D
    None of these

    Note: Answer not sure
    1. Report
  5. Question: 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.

    A
    Statement 1 is true but statement 2 is false

    B
    Statement 1 is false but statement 2 is true

    C
    Both the statements are true

    D
    Both the statements are false

    Note: Answer not sure
    1. Report
  6. Question: Which of the following code snippets are serializable?

    A
    public class Order { public System.Xml.XmlElement OrderDescription; public int Quantity; public String Name; }

    B
    public class Order { [XmlAnyAttribute] public System.Xml.XmlAttribute[] anyAttributes; public System.Xml.XmlElement OrderDescription; public int Quantity; public String Name; }

    C
    public class Order { [XmlAnyElement] public System.Xml.XmlElement[] extraElements; public System.Xml.XmlElement OrderDescription; public int Quantity; public String Name; }

    D
    All of these

    Note: Answer not sure
    1. Report
  7. Question: Which of the following are the limitations of XML serialization?

    A
    Only Classes with a Public Default Constructor will be serialized

    B
    Only Public Fields and Properties will be serialized

    C
    Read-Only Fields and Properties will not be serialized

    D
    Methods and Other Type Information will not be serialized

    E
    All of these

    Note: Answer not sure
    1. Report
  8. Question: Which of the following are correct with regard to WS-Referral protocol?

    A
    WS-Referral describes a schema for describing referrals

    B
    One problem with the current draft specification of WS-Referral is that it does not use 'ttl' for the expiration

    C
    WS-Referral statements can state a "for" of either an exact or a prefix nature

    D
    All of these

    Note: Answer not sure
    1. Report
  9. Question: 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?

    A
    You need to set the SoapOnewayMethod attribute

    B
    You need to bind the soap method with the VoidMethod property

    C
    You need to set the 'OneWay' property to true of the WebServiceBinding attribute

    D
    None of these

    Note: Answer not sure
    1. Report
  10. Question: Which Fault type is used when an error occurs that cannot be directly linked to the processing of the message?

    A
    MustUnderstand

    B
    Server

    C
    Client

    D
    None of these

    Note: Answer not sure
    1. Report
Copyright © 2024. Powered by Intellect Software Ltd