SAAJ Coffee Supplier Service
In contrast to the JAX-RPC service, the SAAJ supplier service does not register in a publicly accessible registry. It simply implements the arrangements that the supplier and the Coffee Break have made regarding their exchange of XML documents. These arrangements include the kinds of messages they will send, the form of those messages, and the kind of messaging they will do. They have agreed to do request-response messaging using the SAAJ API (the javax.xml.soap package).
The Coffee Break servers send two kinds of messages:
Requests for current wholesale coffee prices
Customer orders for coffee
The SAAJ coffee supplier responds with two kinds of messages:
Current price lists
Order confirmations
All the messages they ...
Get The J2EE™ Tutorial Second Edition 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.