Design and Develop JAX-WS 2.0 Web Services
Simplify the construction and deployment of Web services and Web service clients in Java, and speed up Web services development with Java API for XML Web Services (JAX-WS). This tutorial walks you through how to develop Web services for your application using JAX-WS technology by developing a sample order-processing application.
Exception Handling with JAX-RPC
Explicitly declaring faults in WSDL operations, like explicitly
declaring exceptions in Java methods, is good programming
practice. This tip first examines the exception behavior in the
absence of wsdl:fault. It then focuses on how a wsdl:fault is
mapped to a checked Java exception and how a JAX-RPC runtime
handles this checked exception.
Getting Started with JAX-RPC
Java APIs for XML-based Remote Procedure Call (JAX-RPC) help with Web service interoperability and accessibility by defining Java APIs that Java applications use to develop and access Web services. JAX-RPC fully embraces the heterogeneous nature of Web services -- it allows a JAX-RPC client to talk to another Web service deployed on a different platform and coded in a different language. Similarly, it also allows clients on other platforms and coded in different languages to talk to a JAX-RPC service. JAX-RPC also defines the mapping between WSDL service descriptions and Java interfaces.
Hangin' with the JAX Pack, Part 1
In my last article, I discussed a very high-level view of Web services. In this article, part one of a three-part series, I'll take an almost 180-degree turn and look at the services provided to develop and access Web services in Java. Specifically, I'll look at the so-called JAX Pack, a set of loosely-coupled APIs that provide wrappers or functionality around a specific XML feature, for the most part required to access or develop Web services from a Java application.
JAX-RPC Brings Portability to Web Services
Web services, which provide great promise of services on demand from anywhere and to anywhere across the Web, are here to stay. The promise of across-the-Web interoperability has recently been combined with the portability provided by Java technology. The Java platform has established a core API for developing and using Web services, the Java API for XML-based RPC (Remote Procedure Calls), known as JAX-RPC, which enables developers to create interoperable and portable SOAP-based Web services. A required part of the Java 2, Enterprise Edition (J2EE) 1.4 platform, the JAX-RPC Web services API can also be developed and deployed on J2EE 1.3 and servlet containers. JAX-RPC enables Web services interoperability across heterogeneous platforms and languages, thus making it a key technology for Web services-based integration.
JAX-RPC Evolves into Simpler, More Powerful JAX-WS 2.0
The new Java Architecture for XML Web Services (JAX-WS) will replace JAX-RPC in the upcoming Java EE 5 and Java 6 (codename: Mustang). Learn all about JAX-WS 2.0 and see how to use it to transform a Java class into a Web service.
Learn the ins and outs of the JAX-RPC type-mapping system
This article is the first in a two-part series. I'll begin the discussion by tackling one of the most important aspects of JAX-RPC: the type-mapping system. This system enables the run-time system to map each XML type defined in a WSDL document to its corresponding Java type as specified by the Java service interface, and vice versa. This is a major step towards interoperable Web services. JAX-RPC specifies extensible type mapping support for an extended set of XML and Java types. The JAX-RPC run-time system implements a serialization framework to support this type mapping.
Web Service Conversation Using JAX RPC
Web services are self-contained, modular business applications that have open, Internet-oriented, standards-based interfaces. Web services are a type of service that can be shared by and used as components of distributed Web-based applications. The software industry is evolving towards loosely coupled service-oriented applications that dynamically interact over the Web. The applications break down the larger software system into smaller modular components, or shared services. These services can reside on different computers and can be implemented by vastly different technologies, but they are packaged and transported using standard Web protocols, such as XML and HTTP, thus making them easily accessible by any user on the Web.
Write and Configure JAX-RPC Handlers
Avoid the limitations of an interceptor model to provide services. See how to write and configure handler components for generic and specific implementations.