4.1. Communicating Results to the Client
In Chapter 3, the Hello World service printed a greeting message in the service process window when invoked by the client. The greeting included a string passed from the client to the service. After the greeting was printed, the service returned only the success or failure of the invocation. However, a service that does its own thing, only to return success or failure, is a good learning tool but not very practical. For all practical purposes, the client would need more than limited, one-way access to the service. Typically, the client would expect the results to make their way across the wire to the client process. The real beauty of invoking a service is to have a task remotely accomplished for you ...
Get Web Services: A Java™ Developer’s Guide Using E-Speak now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.