Java EE 6: Develop Web Services with JAX-WS & JAX-RS Ed 1 Quiz Questions and Answers

Which HTTP status code range represents client errors?

Answer :
  • 4xx

For what is WADL specially created?

Answer :
  • Rest web Services

What is a valid reason for Using SOAP web services?

Answer :
  • Decouple message representation from transport mechanisms

Web services can be discovered using_______.

Answer :
  • UDDI

Web services enable:

Answer :
  • all of the these

Which protocol is typically used by web services?

Answer :
  • Hypertext Transfer Protocol (HTTP)

An XML schema simpleType may contain:

Answer :
  • restriction

To generate the service endpoint interface from a WSDL you would use:

Answer :
  • wsimport

The methods available in a JAX-WS–generated web service client are determined by:

Answer :
  • The imported WSDL
  • JAXB binding customizations

In which order do LogicalHandlers and SOAPHandlers configured on a Web Service endpoint execute on an incoming message ? (Choose one)

Answer :
  • SOAPHandlers in the order specified in configuration are executed first and later the LogicalHandlers specified in the order get executed