IBM
C2180-371 · Question #32
A developer has an @WebServiceRef annotation defined in a web service client. @WebServiceRef(name="java:comp/env/service/AddressBookService", AddressBookService.class)AddressBookPort port…
The correct answer is C. <service-ref-name>. See the full explanation below for the reasoning.
Question
A developer has an @WebServiceRef annotation defined in a web service client. @WebServiceRef(name="java:comp/env/service/AddressBookService", AddressBookService.class)AddressBookPort port; ... Address address = port.getAddress (John Doe); What element in the deployment descriptor defines the value of "name"?
Options
- A<service-ref>
- B<service-name>
- C<service-ref-name>
- D<service-interface>
- E<service-interface-name>
How the community answered
(54 responses)- A2% (1)
- B7% (4)
- C78% (42)
- D11% (6)
- E2% (1)
Community Discussion
No community discussion yet for this question.