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

10.5 Running the Service

For this and all examples, refer to the readme.txt file in the main example directory for information on how to build, deploy, and run the example. Assuming the sample implementations that ship with the example, and which are described in this chapter, the expected output upon running the example is:

//1

The client starts a listener so it can receive requests from the server.

//2

The client subscribes to the weather service and receives a response from the service in reply, an example of the request-response pattern. During this operation on the server, the server sends a message to the client to verify that the address is valid and reachable, and receives a message in reply, an example of the solicit-response pattern.

//3

The client twice sends a weather update as a one-way message, and receives an update from the server as a notification. Note that the update from the server is not directly in response to the client update, but rather a result of the client having subscribed for updates. If the client had not subscribed, it would not receive an update in reply.

//4

The client unsubscribes from the weather service.

//5

The client shuts down the listener and exits.



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.