What is the best way to log these incoming headers using Java EE APIs?

An organization has several Java EE web services. There is a new requirement to write the
SOAP headers for each incoming web service request to a log file. What is the best way to log
these incoming headers using Java EE APIs?

An organization has several Java EE web services. There is a new requirement to write the
SOAP headers for each incoming web service request to a log file. What is the best way to log
these incoming headers using Java EE APIs?

A.
Use a JAX-RPC client to access the SOAP headers and write them to a log

B.
Use a JAX-WS handler to extract the SOAP headers and write them to a log

C.
Use JMS to extract and route the SOAP headers to an MDB that writes them to a log

D.
Use JAXB to parse the SOAP headers in the service implementation classes and write them
to a log



Leave a Reply 0

Your email address will not be published. Required fields are marked *