Overview of SOAP Message Handlers
15.1 Overview of SOAP Message Handlers
Web services and their clients may need to access the SOAP message for additional processing of the message request or response. You can create SOAP message handlers to enable Web services and clients to perform this additional processing on the SOAP message. A SOAP message handler provides a mechanism for intercepting the SOAP message in both the request and response of the Web service. A simple example of using handlers is to access information in the header part of the SOAP message. You can use the SOAP header to store Web service specific information and then use handlers to manipulate it. You can also use SOAP message handlers to improve the performance of your Web service. After your Web service has been deployed for a while, you might discover that many consumers invoke it with the same parameters. You could improve the performance of your Web service by caching the results of popular invokes of the Web service assuming the results are static and immediately returning these results when appropriate, without ever invoking the back-end components that implement the Web service. You implement this performance improvement by using handlers to check the request SOAP message to see if it contains the popular parameters. JAX-WS supports two types of SOAP message handlers: SOAP handlers and logical handlers. SOAP handlers can access the entire SOAP message, including the message headers and body. Logical handlers can access the payload of the message only, and cannot change any protocol-specific information like headers in a message. 15-2 Programming Advanced Features of JAX-WS Web Services for Oracle WebLogic Server15.2 Adding Server-side SOAP Message Handlers: Main Steps
Parts
» Oracle Fusion Middleware Online Documentation Library
» Roadmap for Developing Web Service Clients
» Roadmap for Developing Asynchronous Web Service Clients
» Overview of Asynchronous Web Service Invocation
» Steps to Invoke Web Services Asynchronously
» Configuring Your Servers for Asynchronous Web Service Invocation
» Building the Client Artifacts for Asynchronous Web Service Invocation
» Configuring the Address of the Asynchronous Response Endpoint
» Configuring the ReplyTo and FaultTo Headers of the Asynchronous Response Endpoint
» Configuring the Context Path of the Asynchronous Response Endpoint
» Developing the Asynchronous Handler Interface
» Propagating User-defined Request Context to the Response
» Creating the Web Service MakeConnection WS-Policy File Optional
» Programming the JWS File to Enable MakeConnection
» Using the JAX-WS Reference Implementation
» Propagating Request Context to the Response Monitoring Asynchronous Web Service Invocation
» Roadmap for Developing Reliable Web Service Clients
» Roadmap for Securing Reliable Web Services
» Overview of Web Services Reliable Messaging
» Steps to Create and Invoke a Reliable Web Service
» Configuring the Source and Destination WebLogic Server Instances
» Creating the Web Service Reliable Messaging WS-Policy File
» Programming Guidelines for the Reliable JWS File
» Configuring the Acknowledgement Interval
» Managing the Life Cycle of a Reliable Message Sequence
» Monitoring Web Services Reliable Messaging Grouping Messages into Business Units of Work Batching
» Overview of Web Service Persistence
» Roadmap for Configuring Web Service Persistence Configuring Web Service Persistence
» Using Web Service Persistence in a Cluster
» Cleaning Up Web Service Persistence Overview of Message Buffering Configuring Messaging Buffering
» Overview of Web Services Cluster Routing
» How Web Service Cluster Routing Works
» Monitoring Cluster Routing Performance Overview of Web Services Atomic Transactions
» Enabling Web Services Atomic Transactions on Web Service Clients
» Overview of Callbacks Steps to Program Callbacks
» Sending Binary Data Using MTOMXOP
» Streaming SOAP Attachments Oracle Fusion Middleware Online Documentation Library
» Additional Considerations When Specifying WSDL Location
» Disabling XML Catalogs in the Client Runtime Getting a Local Copy of XML Resources
» Overview of SOAP Message Handlers
» Designing the SOAP Message Handlers and Handler Chains
» Creating the SOAP Message Handler
» Configuring Handler Chains in the JWS File Creating the Handler Chain Configuration File
» Compiling and Rebuilding the Web Service
» Configuring the Client-side SOAP Message Handlers
» Overview of Web Service Provider-based Endpoints and Dispatch Clients
» Developing a Web Service Dispatch Client
» Registering a More Recent Version of the Jersey JAX-RS Shared Libraries
» Overview of RESTful Web Services Programming Web Services Using XML Over HTTP
» Overview of Stateful Web Services Accessing HTTP Session on the Server
» A Note About the JAX-WS RI Stateful Extension Overview of UDDI
» Description of Properties in the uddi.properties File
Show more