Google News
logo
Web Services - Quiz(MCQ)
A)
WSDL
B)
UDDI
C)
SOAP
D)
All of the above

Correct Answer : Option (D) :   All of the above


Explanation : All of the above options are components of a web service architecture.

A)
Web Services Description
B)
Web Services Description Language
C)
Both (A) and (B)
D)
None of the above

Correct Answer : Option (B) :   Web Services Description Language


Explanation : In contract-last, you expose an existing service interface as a web service whose service contract is generated automatically.

A)
XML
B)
WSDL
C)
XML Schema(.xsd)
D)
All of the above

Correct Answer : Option (D) :   All of the above


Explanation : In contrast, the contract-first approach encourages you to think of the service contract first, in terms of XML, using XML schema (.xsd) and WSDL.

A)
Service Description
B)
XML Messaging
C)
Service Transport
D)
Service Discovery

Correct Answer : Option (A) :   Service Description


Explanation : Service Description is responsible for describing the public interface to a specific web service.

A)
Currently, service discovery is handled via Universal Description, Discovery, and Integration (UDDI).
B)
This layer is responsible for centralizing services into a common registry and providing easy publish/find functionality.
C)
Both (A) and (B)
D)
None of the above

Correct Answer : Option (C) :   Both (A) and (B)

A)
Remote procedures expose input and output parameters that a web service must support.
B)
Web services allow clients to invoke procedures, functions, and methods on remote objects using an XML-based protocol.
C)
A web service supports RPC by providing services of its own, equivalent to those of a traditional component, or by translating incoming invocations into an invocation of an EJB or a .NET component.
D)
All of the above

Correct Answer : Option (D) :   All of the above


Explanation : All of the above options are true about Web Services RPC.

A)
SOAP is platform independent.
B)
SOAP is a format for sending messages.
C)
SOAP is designed to communicate via Internet.
D)
All of the above

Correct Answer : Option (D) :   All of the above

A)
True
B)
False
C)
--
D)
--

Correct Answer : Option (A) :   True


Explanation : Just like that between an object model and a relational model.

A)
RMI
B)
Burlap
C)
Hessian
D)
All of the above

Correct Answer : Option (D) :   All of the above


Explanation : Spring comes with several service exporters that can export a bean as a remote service based on the RMI, Hessian, Burlap, or HTTP Invoker remoting technologies.

A)
RPC
B)
JAX-RPC
C)
JAX
D)
None of the above

Correct Answer : Option (B) :   JAX-RPC


Explanation : The standard for deploying web services on the Java EE platform as of Java EE 1.4 was called JAX-RPC. It supported SOAP 1.0 and 1.1, but didn’t support message-oriented web services.