1. Question: You have created a Web service named 'Service1'. The client application of 'Service1' has a textbox called 'textbox1' and you want to set the value of textbox1.text as UserAgent of 'Service1'. Which code will you apply to accomplish this?

    A
    localhost.Service1.UserAgent = this.textBox1.Text;

    B
    localhost.Service1 s = new localhost.Service1(); s.UserAgent = this.textBox1.Text;

    C
    localhost.Service1.UserAgent ua = new localhost.Service1.UserAgent(); ua.value = this.textBox1.Text;

    D
    None of these

    Note: Answer not sure
    1. Report
  2. Question: The two major features in .NET are the ability to create XML Web Services Servers and XML Web Services Clients. Which of the following is the engine that drives most of these features?

    A
    XML Schema

    B
    SOAP Engine

    C
    XML Serialization

    D
    None of these

    Note: Answer not sure
    1. Report
  3. Question: WSDL is an XML-based language for describing Web services. Which of the following are correct regarding the functioning of WSDL?

    A
    WSDL forces a clean separation between data (as found in messages)

    B
    WSDL provides the abstract definition of a set of message-sending operations

    C
    WSDL provides the particular binding information needed to format and to send a message correctly

    D
    All of these

    Note: Answer not sure
    1. Report
  4. Question: Refer to the code given below and identify the line numbers that contain errors: .. 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.} ...

    A
    2

    B
    4

    C
    5

    D
    7

    E
    10

    F
    None of these

    Note: Answer not sure
    1. Report
  5. Question: Which of the following is a process of making resources and services available on a new system, when the previous system fails while using a federated Web service design?

    A
    RECOVER

    B
    ROLLOVER

    C
    FEDERATION REPAIR

    D
    None of these

    Note: Answer not sure
    1. Report
  6. Question: Which of the following is not a correct statement regarding schema?

    A
    The schema element can contain any number of top-level declarations

    B
    The XML schema language is based on the Worldwide Web Consortium (W3C)

    C
    The definitions in an XML schema are contained within the top-level schema element

    D
    The schema element in an XML schema document cannot use a namespace

    Note: Answer not sure
    1. Report
  7. Question: In the .NET UDDI SDK, which of the following contains the businessEntity structure?

    A
    WSBusinessEntity

    B
    BusinessClass

    C
    BusinessEntity

    D
    WSBusinessClass

    E
    None of these

    Note: Answer not sure
    1. Report
  8. Question: Refer to the following code of a SOAP message and identify the error:
    <s:Envelope
    xmlns:s="http://www.w3.org/2001/06/soap-envelope">
    <s:Body>
    <n:getQuote xmlns:n="urn:QuoteService">
    <symbol xsi:type="xsd:string">
    Mistristic
    </symbol>
    </n:getQuote>
    <s:Header>
    <m:transaction xmlns:m="soap-transaction"
    s:mustUnderstand="true">
    <transactionID>1234</transactionID>
    </m:transaction>
    </s:Header>
    </s:Envelope>

    A
    The Namespace is incorrect

    B
    The position of the header is incorrect

    C
    The body cannot contain a symbol element

    D
    MustUnderstand is not an attribute of the transaction element

    Note: Answer not sure
    1. Report
  9. Question: Sometimes, you will want the WSDL file created for your service to indicate that it will be modified by the SOAP extension running on it. Conversely, you will want the proxy generated for you from wsdl.exe to add the SOAP extension to any proxy class it consumes that contains this indication. Which of the following should you apply to accomplish this?

    A
    WSDLFormatter

    B
    WebServiceClientExtension

    C
    ServiceDescriptionFormatter

    D
    None of these

    Note: Answer not sure
    1. Report
  10. Question: Which of the following is an invalid child of a Fault element of a SOAP message?

    A
    faultcode

    B
    faultstring

    C
    faultactor

    D
    faultdescription

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