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

11.2 Transport and Listener Configuration Files

There are two transport and listener configuration files for HydraExpress Web services:

These files are located in the <installdir>\conf\webservices directory, and are copied to the project directory's conf folder when a project is generated, at which time they are renamed just transports.xml and client-transports.xml, respectively. Both files define default transports, but you can add any other custom transports to them that your applications may need.

If you do wish to configure additional transports, and you want these additions to apply to all of your projects, change the files in the <installdir>\conf\webservice directory, rather than in a particular code generation directory; conversely, if the transports should be specific to an individual service, edit the files in that service's project directory.

The file server-transports-template.xml defines the transports that are loaded into the Agent at startup for each deployed service. In general, a given transport is defined by both a transport element and a listener element. The listener element specifies the object that listens for incoming messages; the transport element specifies the object that sends messages.

The file client-transports-template.xml defines the transports available to the client for sending messages to a server. As with the server-side transport file, this generated file contains transport elements for HTTP and HTTPS, although you can add any custom transports to it that you wish. This file also contains listener elements used by the notification and solicit-response message patterns in which the client needs to listen for messages from a server.

Following is the entry in server-transports-template.xml for the HTTPS transport:

Notes:



Previous fileTop of DocumentContentsIndex pageNext file

Copyright © Rogue Wave Software, Inc. All Rights Reserved.

The Rogue Wave name and logo are registered trademarks of Rogue Wave Software, and HydraExpress is a trademark of Rogue Wave Software. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.