O'Reilly logo

J2EE™ Web Services by Richard Monson-Haefel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required