A company has defined an XML-based document format that its business partners need to use to
submit order information. To guarantee confidentiality and information integrity at a fine level in
the presence of multiple processing steps, the company wants to take advantage of technologies
such as WS-Security and XML Digital Signatures. These technologies define SOAP headers that
can be used to sign and encrypt fragments of documents. Your task is to implement the web
service that accepts and processes the orders. Which component type should be used for the
web service endpoint?
A.
stateless session bean with RMI interface
B.
message-driven bean with web service interface
C.
stateful session bean with web service interface
D.
stateless session bean with access to the SOAP body
E.
stateless session bean with access to the SOAP envelope