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

    A
    True

    B
    False

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

    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
  3. Question: Which of the following represents an array in a SOAP message?

    A
    <person> <firstname>Joe</firstname> <lastname>Smith</lastname> </person>

    B
    <people> <person name='joe smith'/> <person name='john doe'/> </people>

    C
    <people> <person name='joe smith'> <designation/> </person> <person name='john doe'> <designation/> </person> </people>

    D
    None of these

    Note: Not available
    1. Report
  4. Question: Which of the following is the correct position of the header in a SOAP message?

    A
    Only before the body

    B
    Only after the body

    C
    Only before the envelope

    D
    Anywhere in the message

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

    A
    XmlValidatingReader is not a valid class

    B
    In the constructor of XmlValidatingReader, FileStream object is passed instead of XmlTextReader object

    C
    In the constructor of XmlValidatingReader, FileStream object is passed instead of XmlReader object

    D
    None of these

    Note: Answer not sure
    1. Report
  6. 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
  7. 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
  8. 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
  9. 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
  10. 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
Copyright © 2024. Powered by Intellect Software Ltd