1. Question: Which of the following classes is the base class for Soap Extensions?

    A
    System.Web.Services.Protocols.SoapExtension

    B
    System.Web.Services.Protocols.SoapExtensions

    C
    System.Web.Services.SoapExtension

    D
    System.Web.Services.SoapExtensions

    E
    None of these

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

    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 child elements of a Fault element is used to express application-specific details about the error that occurred?

    A
    details

    B
    description

    C
    detail

    D
    comment

    Note: Answer not sure
    1. Report
  4. Question: Refer to the statements given below and identify the incorrect element: <s:Envelope xmlns:s="..."> <s:Body> <s:Faults> <faultcode>Client.Authentication</faultcode> <faultstring> Invalid credentials </faultstring> <faultactor>http://acme.com</faultactor> <details> <!-- application specific details --> </details> </s:Fault> </s:Body> </s:Envelope>

    A
    <s:Faults>

    B
    <faultcode>

    C
    <faultstring>

    D
    None of these

    Note: Answer not sure
    1. Report
  5. Question: Which of the following should you know to send a message correctly while using Web service?

    A
    The IP address and other endpoint information

    B
    The response schema to expect if there is a response

    C
    Possible headers that may be expected in the request or response, and the schema for those

    D
    All of these

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

    A
    Symmetric-Security

    B
    Symmetric-Algorithm

    C
    Symmetric-Encryption

    D
    None of these

    Note: Answer not sure
    1. Report
  7. Question: Which of the following represents a structure 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: Answer not sure
    1. Report
  8. Question: 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?

    A
    public String[] Street; [XmlArray("StreetName",street)];

    B
    [XmlArray("StreetName")] public String[] Street;

    C
    public String[] Street; [XmlArrayName("StreetName"),Street];

    D
    None of these

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

    A
    Line 1

    B
    Line 2

    C
    Line 8

    D
    Line 12

    E
    Line 13

    F
    None of these

    Note: Answer not sure
    1. Report
  10. Question: Which of the following are correct with regard to asynchronous pattern?

    A
    Asynchronous pattern decreases the performance of your application

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

    C
    The "End" method does not require any special attributes

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

    E
    All of these

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