Chapter 14. Message Handlers
Message handlers allow you to manipulate SOAP messages that are sent and received by JAX-RPC clients and Web service endpoints. They can be used with generated stubs, dynamic proxies, the DII, JAX-RPC service endpoints (JSEs), and EJB endpoints. If you've worked with servlet filters, message handlers will be familiar to you.
You may have noticed that none of the JAX-RPC client APIs (generated stubs, dynamic proxies, or DII) provide support for SOAP header blocks. In other words, if you use a generated stub or any other JAX-RPC client API to send a SOAP message, there's no obvious mechanism for adding header-block information. The same is also true of JAX-RPC Web service endpoints (JSEs and EJB endpoints). The primary ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access