1. 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
  2. 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
  3. 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
  4. 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
  5. 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
  6. Question: 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?

    A
    coded

    B
    messagetext

    C
    found

    D
    retryAfter

    E
    All of these

    Note: Answer not sure
    1. Report
  7. Question: 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 'objFile' from the location given in txtWSDL.Text. But on opening WSDL in the ServiceDescription object 'objSD', the code generates an error. Identify the line number that contains the error.

    A
    1

    B
    2

    C
    3

    D
    None of these

    Note: Answer not sure
    1. Report
  8. Question: Which of the following XML related technologies are part of the .NET Framework's XML technology?

    A
    XML DOM

    B
    XML Streaming

    C
    XML Schema

    D
    All of these

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

    A
    types

    B
    message

    C
    portType

    D
    All of these

    Note: Answer not sure
    1. Report
  10. Question: While creating a client application for a Web service called 'QuestionBank', which of the following should be extended by the client class 'Service1'?

    A
    SoapHttpClientProtoco

    B
    SoapClientProtocol

    C
    WSDLClientProtocol

    D
    SoapHttpClient

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