Multiple choice technology programming languages

A Web service needs to validate the credit rating for a loan. The service requires a social security number, full name, and date of birth as input and returns one of many possible documents. Which statement is true?

  1. The developer must use an EJB-based endpoint.

  2. The developer must use a procedure-style Web service.

  3. The developer must use a document-style Web service.

  4. The developer can use a procedure-style or document-style Web service.

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Both procedure-style (RPC) and document-style web services can handle multiple input parameters (SSN, name, DOB) and return different document types. Neither EJB nor a specific style is mandatory for this requirement.