Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
HydraExpress Web Service Development Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

15.1 Overview

HydraExpress provides full, generalized support for SOAP and transport headers. Of course, HydraExpress automatically processes any required headers, but HydraExpress also allows you to add any number of custom header elements.

On the client side, your client implementation code can add header elements to a rwsf::CallInfo object using the methods in its interface. The call to the client proxy service operation method passes in the rwsf::CallInfo object. The code that assembles the request message adds the SOAP header elements to the SOAP message header, and the transport header elements to the transport header.

On the server side, the code that handles the incoming message extracts the custom header elements from the transport and SOAP headers and places them into another rwsf::CallInfo object. This object is then passed through the message handler chain to the server implementation (which is itself a message handler). rwsf::CallInfo has a full interface for accessing and modifying the header data, and this interface can be used by any message handler in the chain.

If the message pattern requires a server response, any custom header elements that need to be returned to the client must be explicitly placed in the response rwsf::CallInfo object, usually by the server implementation code. This rwsf::CallInfo object then gets passed through the outgoing message handler chain. When the response message is assembled, the header elements are extracted from the rwsf::CallInfo object and placed in the SOAP and transport headers of the return message.



Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved. All Rights Reserved. Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. HydraExpress is a trademark of Rogue Wave Software, Inc. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.