The answers are in boldface.

  1. A new XML namespace is declared using

  2. In the following (mostly meaningless) XML snippet:

    <choice ret:answer="1"><code>Pick me</code> </choice>
    <choice xmlns:rdf="http://www.rdf.org"><rdf:code>I am wrong.</rdf:code> </choice>
    <choice xsi:type="string"><code>Im almost correct.</code></choice>
    <choice namespace="http://example.com/x.xsd"><code>Im boring.</code> </choice>
    <choice><code>Im friends with the correct one.</code> </choice>
          
    Which one of the following is a namespace prefix?

  3. One difference between XML Schema and DTDs is that:

  4. The following XML Schema definition:

    <xsd:sequence>
      <xsd:element name="productName" type="xsd:string"/>
      <xsd:element name="quantity">
        <xsd:simpleType>
          <xsd:restriction base="xsd:positiveInteger">
            <xsd:maxExclusive value="100"/>
          </xsd:restriction>
        </xsd:simpleType>
      </xsd:element>
    </xsd:sequence>
          
    would validate which of the following XML examples?

  5. When using SOAP we use XML Schema mostly because

  6. An XML Schema Complex Type is called "complex" because

  7. The basic modeling primitives of RDF Schema are

  8. DAML is a language for

  9. The main entities we define in DAML are

  10. The SAX API is defined:

  11. A main difference between SAX and DOM is that

  12. When using the SAX API you need to

  13. A DOM tree will often have more text nodes than one might expect, this is because

  14. Which one of the following is not a DOM node type

  15. If you had to write a program that read an XML file, modified some elements within it, then wrote the new file out, which one would you use?

  16. A normalized XML document

  17. Which one of the following could not be considered a "web service", no matter how much we stretch the definition of this vague and mostly useless marketing term?

  18. Which one of the following is not part of the "web service" technology stack?

  19. The Object in Simple Object Access Protocol refers to:

    There is no object in SOAP!

  20. Which one of the following is not a reason why SOAP has gained momentum over RMI and CORBA?

    Sad, isn't it?

  21. The value of the actor attribute in a SOAP message is

  22. SOAP handles exceptions via

  23. When a node receives a SOAP message it should first

    A node must understand only those blocks that have their actor set to a role the node can play.

  24. The following SOAP envelope:

    <s:Envelope xmlns:s="...">
      <s:Body>
        <jump xmlns=".."
          s:encodingStyle="http://www.w3.org/2001/06/soap-encoding">
          <height xsi:type="string">very high</height>
          <when xsi:type="string">12</when>
        </jump>
      </s:Body>
    </s:Envelope>
    
    corresponds to which Java function declaration(s)?

  25. If you call a SOAP function called "when", the result of the call will be returned to you in an element called:

  26. In SOAP, an array of strings called StringArray would be encoded as:

  27. If you called a SOAP service that takes two arguments, one of type Address and one or type person Person with "person" and "address" as defined by:

    Address address = new Address();
    Person person = new Person();
    person.setAddress(address);
    
    the SOAP encoding would

  28. The WSDL is used for

  29. In a WSDL file, which one of the following most closely corresponds to the function name in a programming language?

  30. A WSDL message consists of parts that

  31. Which one of the following is a WSDL transmission primitive that can not supported by an endpoint.

  32. The top-level elements of a WSDL document are

  33. The UDDI is used for

  34. A UDDI registry holds descriptions of

  35. A UDDI TModel is

  36. UDDI are deployed using

  37. A UDDI registry can be accessed using which SOAP interface(s)?

  38. The first step in translating a WSDL file to be used with UDDI is to

  39. WS-Inspection was developed for use

  40. WS-Inspection files must be placed


Copyright © 2001 José M. Vidal. All Rights Reserved.