serviceendpoints, along with corresponding WSDL descriptions, and clients. A JAX-RPC
basedweb service can interact with clients that are not based on Java. Similarly, a JAX-RPC
basedclient can interact with a non-Java-based web service implementation.
JavaAPI for XML registries (JAXR), a Java API for accessing business registries, has a exible
architecturethat supports UDDI, and other registry specications (such as ebXML). A JAXR
client,which can be a stand-alone Java application or a J2EE component, uses an
implementationof the JAXR API provided by a JAXR provider to access business registries. A
JAXRprovider consists of two parts: a registry--specic JAXR provider, which provides a
registry-specicimplementation of the API, and a JAXR pluggable provider, which implements
thosefeatures of the API that are independent of the type of registry. The pluggable provider
hidesthe details of registry-specic providers from clients.
SOAPwith Attachments API for Java (SAAJ)enables developers to produce and consume
messagesconforming to the SOAP 1.1 specication and SOAP with Attachmentsnote. SAAJ
providesan abstraction for handling SOAP messages with attachments. Advanced developers
canuse SAAJ to have their applications operate directly with SOAP messages. Attachments may
becomplete XML documents, XML fragments, or MIME-type attachments. In addition, SAAJ
allowsdevelopers to enable support for other MIME types. JAX technologies, such as JAX-RPC,
internallyuse SAAJ to hide SOAP complexities from developers. SAAJ enables:
Synchronousrequest-response messaging: the client sends a message and then waits for the
response.
One-wayasynchronous messaging: the client sends a message and continues with its
processingwithout waiting for a response.
Deploying andTesting WebSer vices
EnterpriseServer enables you to easily deploy and test web services.

DeployingWeb Services

Deploya web service in an enterprise archive (EAR) just as you would an enterprise application.
Aweb service can also be implemented by a POJO (plain old Java Object). Deploy a POJO web
serviceusing the auto-deploy feature by dragging and dropping it into the auto-deploy
directory.Enterprise Server will automatically generate the appropriate web XML les and
deploythe web service.
InAdmin Console, you can view a list of deployed web services under Application Server > Web
Services| General.
DeployingandTesting WebSer vices
Chapter14 • Managing Web Services 155