JAVA 101 - 199

An illustration of interconnected web services, with elements like SOAP, WSDL, and REST, all represented visually with a Java theme.

Mastering Web Services: Java 101 Quiz

Test your knowledge of Web Services and Java fundamentals with our comprehensive quiz! This quiz consists of 100 multiple-choice questions designed to challenge and enhance your understanding of essential concepts.

Key Features:

  • 100 Questions covering various topics
  • Multiple choice format for easy answering
  • Instant feedback on your performance
100 Questions25 MinutesCreated by CodingMaster257
UDDI is a registry and a repository
A) True, because it allows functional specification like schemas and WSDL to be stored in it
B) False, because the actual content is never stored in UDDI
C) True, because it allows implementation details to be stored in it
D) False, because the actual content is always stored in UDDI
E) True, because it also allows business documents like schemas and WSDL to be stored in it
Web Services are:
A) Tightly Coupled
B) Either Loosely or Tightly Coupled
C) Neither Loosely nor Tightly Coupled
D) Both Loosely and Tightly Coupled
E) Loosely Coupled
Which component of Web Services acts as a directory?:
A) UDDI
B) XML
C) SOAP
D) WSDL
E) JAX-RPC
Web services components are written in which Markup Language?
A) SGML
B) HTML
C) XHTML
D) XML
E) DTD
Which of the following is NOT a SOAP advantage:
A) Platform independent
B) SOAP clients do not hold any stateful references to remote objects
C) Language independent
D) Uses XML to send and receive messages
E) Uses standard internet HTTP protocol
This XML-based language is used to describe the services a business offers and to provide a way for individuals and other businesses to access those services electronically.:
A) Xerces
B) XHTML
C) XUL
D) JSON
E) WSDL
This XML-based registry is intended as on online Internet registry for businesses worldwide:
A) Universal Plug and Play
B) UDDI
C) Uniform Resource Locator
D) UDF
JAX-RPC stands for:
A) Java API for XML-based Remote Procedure Calls
B) Java Application for XML-based RPC
C) Java API for eXtensible RPC
D) Java attachment for XML-based RPC
E) Java Access via XML RPC
The application does, however, need to understand the format of the information (representation) returned, which is typically an HTML, XML or ________ document of some kind, although it may be an image, plain text, or any other content:
A) Opera(web browser)
B) JavaScript
C) XHTML
D) JSON
The REST architectural style was developed in parallel with the ________/1.1 protocol, based on the existing design of HTTP/1.0:
A) Hypertext Transfer Protocol
B) File transfer protocol
C) Extended Hypertext Transfer Protocol
D) Transmission Control Protocol
E) User Datagram Protocol
Unlike ________-based web services, there is no "official" standard for RESTful web service.:
A) XHTML
B) XML
C) JSON
D) SOAP
E) Scalable Vector Graphics
Fill in the blank: When SOAP attachments are used in a SOAP message, the SOAP message is accompanied by a MIME header and possibly ________ _________.:
A) Cipher references
B) STS tokens
C) User profiles
D) Signature values
E) Boundary parts
113) The javafx.servlet.sip.SipFactory interface provides utility methods to create a Session Initiation Protocol (SIP) request in an enterprise application. Which of the following statements about the SipFactory interface is true?:
A) A SipFactory instance can be injected into a Java EE component such as an EJB or MJB using the @SIP annotation
B) A SipFactory instance cannot be used in a Converged Enterprise Application
C) SipFactory instances that belong to multiple SIP applications can be injected into a Java EE component, whether the applications are co-located in the same .ear file or not
D) A SipFactory is specific to a SIP application and there can be only one SipFactory instance for each SIP application
You are developing an application that uses the Jersey 1.0.2 Client API to consume a RESTful web service. You create a Client object for the RESTful web service client. What do you need to create next so that the Client object can be used to issue web service requests?:
A) A ClientPipe object
B) A ServiceRequest object
C) A ClientFactory object
D) None of the above
E) A WebResource object
Web Services basic platform elements:
A) SOAP
B) All of the above
C) WSDL
D) UDDI
E) None of the above
In the web services world, the REST (REpresentational State Transfer) is::
A) A protocol
B) All of the above
C) A standard API
D) None of the above
E) A software architecture paradigm
SOAP (Simple Object Access Protocol):
A) None of the above
B) a directory service where companies can register and search for Web services
C) an XML-based protocol to let applications exchange information over HTTP
D) an XML-based language for locating and describing Web services
UDDI (Universal Description, Discovery and Integration):
A) None of the above
B) an XML-based protocol to let applications exchange information over HTTP
C) an XML-based language for locating and describing Web services
D) a directory service where companies can register and search for Web services
WSDL (Web Services Description Language):
A) an XML-based language for locating and describing Web services
B) None of the above
C) an XML-based protocol to let applications exchange information over HTTP
D) a directory service where companies can register and search for Web services
... Is used to create a database schema with CREATE and ALTER statements:
A) DDL (draft definition language)
B) DML (data manipulation language)
C) DDL (data definition language)
_______ has emerged as a predominant Web service design model:
A) DDL (draft definition language)
B) DML (data manipulation language)
C) DDL (data definition language)
D) DSL (data security language)
E) DBDL (database definition language)
_______ has emerged as a predominant Web service design model:
A) REST
B) SOAP
C) UDDI
D) WSDL
E) JAAS
What is FALSE about Service Description (WSDL) document structure :
A) A DESCRIPTION MUST NOT use the WSDL "import" statement to import another WSDL description
B) To import XML Schema Definitions, a DESCRIPTION MUST use the XML Schema "import" statement
C) A DESCRIPTION MUST use the XML Schema "import" statement only within the xsd:schema element of the types section
D) A DESCRIPTION MUST only use the WSDL "import" statement to import another WSDL description
E) An XML Schema directly or indirectly imported by a DESCRIPTION MUST use either UTF-8 or UTF-16 encoding.
What is FALSE about Service Description (WSDL) document structure :
A) A DESCRIPTION MUST only use the WSDL "import" statement to import another WSDL description
B) An XML Schema directly or indirectly imported by a DESCRIPTION MUST use either UTF-8 or UTF-16 encoding.
C) A DESCRIPTION MUST specify a non-empty location attribute on the wsdl:import element.
D) DESCRIPTION MUST use either UTF-8 or UTF-16 encoding.
E) A DESCRIPTION MUST NOT specify a non-empty location attribute on the wsdl:import element
What is TRUE about Service Description (WSDL) document structure :
A) The targetNamespace attribute on the wsdl:definitions element of a description that is being imported MUST have same the value as the namespace attribute on the wsdl:import element in the importing DESCRIPTION
B) All of the above
C) A document-literal binding in a DESCRIPTION MUST, in each of its soapbind:body element(s), have at most one part listed in the parts attribute, if the parts attribute is specified
D) A wsdl:binding in a DESCRIPTION MAY contain soapbind:body element(s) that specify that zero parts form the soap:Body
E) A MESSAGE described with an rpc-literal binding MUST NOT have the xsi:nil attribute with a value of "1" or "true" on the part accessors
What is FALSE about Service Description (WSDL) port types:
A) The order of the elements in the soap:body of a MESSAGE MUST be the same as that of the wsdl:parts in the wsdl:message that describes it
B) The order of the elements in the soap:body of a MESSAGE MUST be the same as that of the wsdl:parts in the wsdl:message that describes it
C) A DESCRIPTION MAY use the parameterOrder attribute of an wsdl:operation element to indicate the return value and method signatures as a hint to code generators
D) A wsdl:portType in a DESCRIPTION MUST have operations with distinct values for their name attributes
E) A wsdl:message in a DESCRIPTION MUST NOT specify both type and element attributes on the same wsdl:part
What is FALSE about Service Description (WSDL) SOAP Binding:
A) A wsdl:binding in a DESCRIPTION SHOULD contain a soapbind:fault describing each known fault
B) A wsdl:binding in a DESCRIPTION MAY contain no soapbind:headerfault elements if there are no known header faults
C) A MESSAGE MAY contain a fault detail entry in a SOAP fault that is not described by a wsdl:fault element in the corresponding WSDL description
D) A wsdl:binding in a DESCRIPTION MUST have the same set of wsdl:operations as the wsdl:portType to which it refers
E) A wsdl:binding in a DESCRIPTION CAN NOT contain no soapbind:headerfault elements if there are no known header faults
What is default value for minOccurs and maxOccurs in XML Schema in J2EE Web Services:
A) Default value of minOccurs is 0. Default value of maxOccurs is 1
B) Default value of minOccurs is 1. Default value of maxOccurs is 0
C) Default value of minOccurs is 0. Default value of maxOccurs is 0
D) None of the above
E) Default value of minOccurs is 1. Default value of maxOccurs is 1
It does not matter whether complex type is defined before or after the element declaration as long as it is present in the XML schema document:
A) True
B) False
Which one is NOT one of the main elements of XML schema of Web Services:
A) xsd:element declares an element and assigns it a type
B) xsd:attribute declares an attribute and assigns it a type
C) xsd:restriction child element derives by restricting the legal values of the base type
D) xsd:complexType defines a new complex type
E) xsd:simpleType defines a new simple type
Which of the following statements is FALSE about XML Schema in Web Services:
A) Attribute values are always simple types
B) You can not derive new simple types from existing types
C) Attributes are unordered
D) It does not matter whether complex type is defined before or after the element declaration as long as it is present in the schema document
E) You can derive new simple types from existing types
Which of the following statements are FALSE about the use of namespaces in an XML document?:
A) If an XML namespace declaration contains a prefix, you refer to element type and attribute names in that namespace with the prefix
B) None of the above
C) If an XML namespace declaration does not contain a prefix, the namespace is the default XML namespace and you refer to element type names in that namespace without a prefix
D) The value (unique URI) of the xmlns attribute identifies the namespace, not the prefix
Which of the following is not one of a simple SOAP encoding types
A) Strings
B) Enumerations
C) Arrays
D) Arrays of Bytes
E) None of the above\
Which of the following is FALSE about SOAP Header element
A) The Header element is encoded as the first immediate child element of the SOAP Envelope XML element
B) The Header element is OPTIONAL
C) All immediate child elements of the Header element are called header entries
D) Header element can not contain multiple child elements
E) Header element may contain multiple child elements - header entries
F) Header entries can have following attributes: actor, encodingStyle, mustUnderstand
Which elements is optional in a SOAP message?
A) Envelope
B) Body
C) Header
D) All of the above elements are mandatory
E) All of the above elements are optional
Which is NOT correct grammar rule for “Envelope” element of SOAP message:
A) The element MAY NOT be present in a SOAP message
B) The element MUST be present in a SOAP message
C) The element MAY contain namespace declarations as well as additional attributes
D) The element MAY contain additional sub elements
E) There is no rules for elements in SOAP message
Which statement is FALSE about using SOAP in HTTP?
A) An HTTP client MUST use this header field when issuing a SOAP HTTP Request
B) HTTP applications MUST use the media type "text/xml" when including SOAP entity bodies in HTTP messages
C) SOAPAction value MUST be a quoted string
D) An HTTP client MAY NOT use this header field when issuing a SOAP HTTP Request
E) All statements are true
Which of the following is not a step of the process of creation and sending SOAP message?:
A) Creating a SOAP connection
B) All presented steps are true
C) Creating a SOAP message
D) Populating the message
E) Sending the message
Which of the following statements are true about WSDL elements?
A) The definitions element MUST be the root element of all WSDL documents
B) The portType element combines multiple message elements to form a complete one-way or round-trip operation
C) The types element describes all the data types used between the client and server
D) The message element describes a one-way message, whether it is a single message request or a single message response
E) All of the above
JAX-RPC is for Web services interoperability across heterogeneous platforms and languages. This makes JAX-RPC a key technology for Web services integration
A) True
B) False
Which is not one of the Service Developer requirements outlined in the JAX-RPC specification:
A) The class must be public, must be final or must be abstract
B) The Service Implementation Bean must have a default public constructor
C) The class must be public, must not be final and must not be abstract
D) The class must not define the finalize() method
E) The bean must implement all the method signatures of the SEI
Which is not one of the Service Developer requirements outlined in the JAX-RPC specification:
A) The business methods of the bean must be public and must not be static
B) If the Service Implementation Bean does not implement the SEI, the business methods must be final
C) If the Service Implementation Bean does not implement the SEI, the business methods must not be final
D) A Service Implementation must be a stateless object
E) None of the above
Which one is not a reason why you need to use a stateless Session Bean to expose Web Services:
A) Need declarative transaction management
B) Need the thread management provided by EJB Container
C) Need role based security
D) Need to expose previously existing stateless Session Beans as Web services
E) Need to expose previously existing Java classes as Web services
Which scenario is the best choice if your Web Service not expected to change:
A) This software pattern eliminates the need for clients to know in advance a service’s exact name and parameters
B) The client at runtime creates dynamic proxy stubs using the javax.xml.rpc.Service interface
C) You can generate a stub class either from WSDL (using WSDL2Java) or from a service endpoint interface
D) All of the above
E) none
Which scenario is the best choice if some changes to the Web Service expected, such as the location of the service?:
A) All of the above
B) This software pattern eliminates the need for clients to know in advance a service’s exact name and parameters
C) You can generate a stub class either from WSDL (using WSDL2Java) or from a service endpoint interface
D) none
E) The client at runtime creates dynamic proxy stubs using the javax.xml.rpc.Service interface
Which one is NOT a property (an advantage or disadvantage) of a WSDL to Java development approach:
A) No need to learn WSDL or XML Schema
B) Convenient when WSDL document already exists
C) More powerful
D) Easy to stray outside of WS-I BP 1.0, harming interoperability
E) Requires WSDL and XML schema knowledge
Which one is a property (an advantage or disadvantage) of a Java to WSDL development approach?
A) All of the above
B) Less control over published service contract
C) Easier to use
D) No need to learn WSDL or XML Schema
Which one is the feature of synchronous request-response mode?:
A) No return value or exception is expected
B) All of the above
C) Client's thread blocks until a return value or exception is returned
D) A client invokes a remote procedure and continues in its thread without blocking
E) None of the above
Which one is the feature of One-way RPCC model:
A) Client's thread blocks until a return value or exception is returned
B) A client invokes a remote procedure and continues in its thread without blocking
C) All of the above
D) Client's thread continues processing, No return value or exception is expected
E) none
Which one is the feature of Non-blocking invocation mode?:
A) Client's thread continues processing, No return value or exception is expected
B) All of the above
C) None
D) Client's thread blocks until a return value or exception is returned
E) A client invokes a remote procedure and continues in its thread without blocking
Which of the following actions can you achieve by invoking an appropriate method on the EntityContext from inside the ejbStore() method of an entity bean class?:
A) Access the JNDI environment of the bean
B) All of the above
C) Get the primary key
D) Get security information about the client
E) Mark a transaction for rollback, Call another bean’s method
Which of the following statements are FALSE about JAX-RPC Handler API to create a SOAP message handler?:
A) All statements are true
B) JAX-RPC handlers allow you to intercept a SOAP message at various times during a service invocation
C) Handlers are similar to servlet filters
D) Handlers can exist on both the client and the server side
E) Several handlers can be combined into ‘handler chain’
Which of the following does not define the JAX-RPC Handlers concepts :
A) JAX-RPC Handlers are specific to SOAP requests only and cannot be used for other non-SOAP Web services
B) Handlers may be transport independent
C) Handlers can run on the client before the request is sent to the remote host and after the client receives a response
D) Handlers can examine and potentially modify the response after the components has processed the request
E) Handlers cannot run on the client side after the clients receives a response
Which of the following is not a JAX-RPC Handlers scenario?:
A) Handlers must be able to transform the SOAP header
B) Handlers must be able to transform just parts of the body
C) None of the above
D) Handlers must be able to just read a message where no additions, transformations, or modifications to the message is made
E) All of the above
Which of the following statements are true about TrAX (Transformation API for XML)?:
A) All of the above
B) TrAX is an API for transforming XML documents using XSLT style sheets
C) TrAX is a Java API and has been defined to provide common access to different XSLT Processors
D) TrAX is part of the JAXP API, which combines a number of Java APIs
E) The TrAX API extends the original JAXP mission to include XML transformations
Which one is not the form of Validation in JAXB
A) Unmarshal-Time Validation
B) On-Demand Validation
C) Marshal-Time Validation
D) Fail-Fast Validation
Which of the following better describe Unmarshal-Time Validation in JAXB?:
A) This form of validation enables a client application to receive information about validation errors and warnings detected while unmarshalling XML data into a Java content tree and is completely orthogonal to the other types of validation
B) This form of validation enables a client application to receive information about validation errors and warnings detected in the Java content tree
C) This form of validation enables a client application to receive immediate feedback about modifications to the Java content tree that violate type constraints on Java Properties as defined in the specification
Which statement is NOT true about the use of the SAAJ API:
A) The SAAJ API provides the AttachmentPart class to represent the attachment part of a SOAP envelope
B) All SOAP messages are sent and received over a connection
C) The SAAJ API provides the AttachmentPart class to represent the attachment part of a SOAP message
D) With the SAAJ API, the connection is represented by a SOAPConnection object, which goes from the sender directly to its destination
E) A SAAJ client calls the SOAPConnection method call on a SOAPConnection object to send a message
Which statement is NOT true about the use of the SAAJ API:
A) The SAAJ API provides the AttachmentPart class to represent the attachment part of a SOAP envelope
B) All SOAP messages are sent and received over a connection
C) The SAAJ API provides the AttachmentPart class to represent the attachment part of a SOAP message
D) With the SAAJ API, the connection is represented by a SOAPConnection object, which goes from the sender directly to its destination
E) A SAAJ client calls the SOAPConnection method call on a SOAPConnection object to send a message
Which of the following statements describe the function of JAXR in Web Service architectural model
A) 50% JAXR, the Java API for XML Registries, provides a standard API for publication and discovery of Web Services throughout underlying registers
B) 50%JAXR does not define a new registry standard
C) -50%JAXR define a new registry standard
D) -50%JAXR does not allow client to access and interoperate with any business registry accessible via a JAXR provider
E) -50%No any statement define the function of JAXR
Which Mapping of UDDI Inquiry API Calls to JAXR(BusinessQueryManager) not correct
A) find_service -> findServiceBindings
B) find_service -> findServices
C) find_binding -> findServiceBindings
D) find_business -> findOrganizations
E) All of the above
The JSON format is often used for ________ and transmitting structured data over a network connection.
A) Serialization
B) Perl
C) Java(programming language)
D) Object-oriented programming
E) None of the above
Which of the following is correct?:
A) jQuery is a JavaScript Library
B) jQuery is a JSON Library
C) jQuery is a Java Library
D) None of the above
164) Which jQuery method is used to perform an asynchronous HTTP request?
A) jQuery.ajax()
B) jQuery.ajaxAsync()
C) jQuery.Async()
D) jQuery.delete()
E) None of the above
In JSON-RPC, the RPC stands for
A) Remote Procedure Call
B) Removing Passwords from the Client
C) Relational Processing Context
D) Running Procedures Continuously
__________ajax control enables you to place scripts and service into your content page.
A) ScriptManagerProxy
B) ScriptManager
C) Panel
D) Timer
In ajax how the request will be processed?
A) XMLHttpRequest
B) HttpRequest
C) HttpXMLRequest
D) None of these
If the response from the server is not XML, use the.....property
A) responseText
B) responseXML
C) innerHTML
D) None of above
What does the XMLHttpRequest object accomplish in Ajax?
A) It provides the ability to asynchronously exchange data between Web browsers and a Web server
B) It provides the ability to mark up and style the display of Web-page text
C) It provides a means of exchanging structured data between the Web server and client
D) It's the programming language used to develop Ajax applications
Using AJAX we can made our web page.
A) More interactive and faster
B) Easily to connect web pages with server
C) More dynamic
D) None of these
The.....property holds the status of the XMLHttpRequest(AJAX).
A) readyState
B) onreadystatechange
C) status
D) done
.....stores a function (or the name of a function) to be called automatically each time the readyState property changes
A) Onreadystatechange
B) readyState
C) status
D) Done
E) All of the above
.....stores a function (or the name of a function) to be called automatically each time the readyState property changes
A) Onreadystatechange
B) readyState
C) status
D) Done
E) All of the above
(a)It is difficult to bookmark a particular state of the application.(b)Response time may be slow because different controls of a page are loaded at different time. What is true about AJAX?:
A) a
B) b
C) Both a and b
D) Both are false
Which one of the following is not a reason to use JSON?:
A) JSON is nothing like JavaScript
B) JSON is used in a text format
C) It is lighter and faster than XML
D) JSON encompasses many types such as string, number, array, boolean, etc
E) None of the above
Which of the following is not an AJAX Option in an Ajax.Request call?:
A) method: 'post‘
B) Parameters
C) On
D) onException
E) postFoot
True or False, in the Element Class, CSS StyleSets, in Prototype, the command setStyle(element, cssPropertyHash) sets the value of the CSS properties in the given element, according to the values in the cssPropertyHash argument.:
A) False
B) True
True or False, in Prototype, getElements(form) returns all elements of a form as an array:
A) False
B) True
True or False, to convert a JSON text into an JSON object, we use the eval() function which invokes the JavaScript compiler
A) False
B) True
True or False, the Prototype command update(element, html) replaces the inner html of the element with the given html argument::
A) False
B) True
True or False, the Prototype command update(element, html) replaces the inner html of the element with the given html argument.?
A) False
B) True
SOAP (Simple Object Access Protocol):
A) None of the above
B) a directory service where companies can register and search for Web services
C) an XML-based protocol to let applications exchange information over HTTP
D) an XML-based language for locating and describing Web services
UDDI (Universal Description, Discovery and Integration):
A) None of the above
B) an XML-based protocol to let applications exchange information over HTTP
C) an XML-based language for locating and describing Web services
D) a directory service where companies can register and search for Web services
WSDL (Web Services Description Language):
A) an XML-based language for locating and describing Web services
B) None of the above
C) an XML-based protocol to let applications exchange information over HTTP
D) a directory service where companies can register and search for Web services
184) ... Is used to create a database schema with CREATE and ALTER statements:
A) DDL (draft definition language)
B) DML (data manipulation language)
C) DDL (data definition language)
D) DSL (data security language)
E) DBDL (database definition language)
_______ has emerged as a predominant Web service design model:
A) REST
B) SOAP
C) UDDI
D) WSDL
E) JAAS
What is FALSE about Service Description (WSDL) document structure :
A) A DESCRIPTION MUST NOT use the WSDL "import" statement to import another WSDL description
B) To import XML Schema Definitions, a DESCRIPTION MUST use the XML Schema "import" statement.
C) A DESCRIPTION MUST use the XML Schema "import" statement only within the xsd:schema element of the types section
D) A DESCRIPTION MUST only use the WSDL "import" statement to import another WSDL description
E) An XML Schema directly or indirectly imported by a DESCRIPTION MUST use either UTF-8 or UTF-16 encoding
What is FALSE about Service Description (WSDL) document structure :
A) A DESCRIPTION MUST only use the WSDL "import" statement to import another WSDL description
B) An XML Schema directly or indirectly imported by a DESCRIPTION MUST use either UTF-8 or UTF-16 encoding
C) A DESCRIPTION MUST specify a non-empty location attribute on the wsdl:import element
D) DESCRIPTION MUST use either UTF-8 or UTF-16 encoding
E) A DESCRIPTION MUST NOT specify a non-empty location attribute on the wsdl:import element
What is TRUE about Service Description (WSDL) document structure :
A) The targetNamespace attribute on the wsdl:definitions element of a description that is being imported MUST have same the value as the namespace attribute on the wsdl:import element in the importing DESCRIPTION
B) All of the above
C) A document-literal binding in a DESCRIPTION MUST, in each of its soapbind:body element(s), have at most one part listed in the parts attribute, if the parts attribute is specified
D) A wsdl:binding in a DESCRIPTION MAY contain soapbind:body element(s) that specify that zero parts form the soap:Body
E) A MESSAGE described with an rpc-literal binding MUST NOT have the xsi:nil attribute with a value of "1" or "true" on the part accessors
 
What is FALSE about Service Description (WSDL) port types:
A) The order of the elements in the soap:body of a MESSAGE MUST be the same as that of the wsdl:parts in the wsdl:message that describes it
B) The order of the elements in the soap:body of a MESSAGE MUST be the same as that of the wsdl:parts in the wsdl:message that describes it
C) A DESCRIPTION MAY use the parameterOrder attribute of an wsdl:operation element to indicate the return value and method signatures as a hint to code generators
D) A wsdl:portType in a DESCRIPTION MUST have operations with distinct values for their name attributes
E) A wsdl:message in a DESCRIPTION MUST NOT specify both type and element attributes on the same wsdl:part
What is FALSE about Service Description (WSDL) SOAP Binding:
A) A wsdl:binding in a DESCRIPTION SHOULD contain a soapbind:fault describing each known fault
B) A wsdl:binding in a DESCRIPTION MAY contain no soapbind:headerfault elements if there are no known header faults
C) A MESSAGE MAY contain a fault detail entry in a SOAP fault that is not described by a wsdl:fault element in the corresponding WSDL description
D) A wsdl:binding in a DESCRIPTION MUST have the same set of wsdl:operations as the wsdl:portType to which it refers
E) A wsdl:binding in a DESCRIPTION CAN NOT contain no soapbind:headerfault elements if there are no known header faults
UDDI is a registry and a repository:
A) True, because it allows functional specification like schemas and WSDL to be stored in it
B) False, because the actual content is never stored in UDDI
C) True, because it allows implementation details to be stored in it
D) False, because the actual content is always stored in UDDI
E) True, because it also allows business documents like schemas and WSDL to be stored in it
Web Services are:
A) Tightly Coupled
B) Either Loosely or Tightly Coupled
C) Neither Loosely nor Tightly Coupled
D) Both Loosely and Tightly Coupled
E) Loosely Coupled
Which component of Web Services acts as a directory?:
A) UDDI
B) XML
C) SOAP
D) WSDL
E) JAX-RPC
Web services components are written in which Markup Language?
A) SGML
B) HTML
C) XHTML
D) XML
E) DTD
Which of the following is NOT a SOAP advantage:
A) Platform independent
B) SOAP clients do not hold any stateful references to remote objects
C) Language independent
D) Uses XML to send and receive messages
E) Uses standard internet HTTP protocol
This XML-based language is used to describe the services a business offers and to provide a way for individuals and other businesses to access those services electronically.:
A) Xerces
B) XHTML
C) XUL
D) JSON
E) WSDL
This XML-based registry is intended as on online Internet registry for businesses worldwide:
A) Universal Plug and Play
B) UDDI
C) Uniform Resource Locator
D) UDF
JAX-RPC stands for:
A) Java API for XML-based Remote Procedure Calls
B) Java Application for XML-based RPC
C) Java API for eXtensible RPC
D) Java attachment for XML-based RPC
E) Java Access via XML RPC
RMI is about
A) accessing remote objects and invoking methods from remote objects
B) passing primitive data between a server and a client
C) passing objects between a server and a client
D) java.lang.Cloneable
E) java.lang.Serializable
{"name":"JAVA 101 - 199", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Test your knowledge of Web Services and Java fundamentals with our comprehensive quiz! This quiz consists of 100 multiple-choice questions designed to challenge and enhance your understanding of essential concepts.Key Features:100 Questions covering various topicsMultiple choice format for easy answeringInstant feedback on your performance","img":"https:/images/course5.png"}
Powered by: Quiz Maker