Summary

Today, you sent SOAP messages between an SAAJ client and server. You used the SAAJ API to populate and process the XML message contents. You then examined how this simple exchange could be improved by using headers and attachments or by progressing to JAXM for value-added services.

You have seen how registries play a vital role in allowing Web Service clients to locate and use Web Services. UDDI and ebXML both provide SOAP-based interfaces for such interactions. You examined JAXR code that created a simple entry in a registry and then queried the registry for that entry.

Get Sams Teach Yourself J2EE™ in 21 Days, 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.