javax.xml.ws (Java Platform SE 8 )
Keywords: javax.xml.ws package
Date: 2026-08-19

# Package javax.xml.ws

This package contains the core JAX-WS APIs.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  AsyncHandler<T> | The `AsyncHandler` interface is implemented by clients that wish to receive callback notification of the completion of service endpoint operations invoked asynchronously.
  Binding | The `Binding` interface is the base interface for JAX-WS protocol bindings.
  BindingProvider | The `BindingProvider` interface provides access to the protocol binding and associated context objects for request and response message processing.
  Dispatch<T> | The `Dispatch` interface provides support for the dynamic invocation of a service endpoint operations.
  LogicalMessage | The `LogicalMessage` interface represents a protocol agnostic XML message and contains methods that provide access to the payload of the message.
  Provider<T> | Service endpoints may implement the `Provider` interface as a dynamic alternative to an SEI.
  Response<T> | The `Response` interface provides methods used to obtain the payload and context of a message sent in response to an operation invocation.
  WebServiceContext | A `WebServiceContext` makes it possible for a web service endpoint implementation class to access message context and security information relative to a request being served.

- Class Summary
  Class | Description
  --- | ---
  Endpoint | A Web service endpoint.
  EndpointContext | `EndpointContext` allows multiple endpoints in an application to share any information.
  EndpointReference | This class represents an WS-Addressing EndpointReference which is a remote reference to a web service endpoint.
  Holder<T> | Holds a value of type `T`.
  RespectBindingFeature | This feature clarifies the use of the `wsdl:binding` in a JAX-WS runtime.
  Service | `Service` objects provide the client view of a Web service.
  WebServiceFeature | A WebServiceFeature is used to represent a feature that can be enabled or disabled for a web service.
  WebServicePermission | This class defines web service permissions.

- Enum Summary
  Enum | Description
  --- | ---
  Service.Mode | The orientation of a dynamic client or service.

- Exception Summary
  Exception | Description
  --- | ---
  ProtocolException | The `ProtocolException` class is a base class for exceptions related to a specific protocol binding.
  WebServiceException | The `WebServiceException` class is the base exception class for all JAX-WS API runtime exceptions.

- Annotation Types Summary
  Annotation Type | Description
  --- | ---
  Action | The `Action` annotation allows explicit association of a WS-Addressing `Action` message addressing property with `input`, `output`, and `fault` messages of the mapped WSDL operation.
  BindingType | The `BindingType` annotation is used to specify the binding to use for a web service endpoint implementation class.
  FaultAction | The `FaultAction` annotation is used inside an `Action` annotation to allow an explicit association of a WS-Addressing `Action` message addressing property with the `fault` messages of the WSDL operation mapped from the exception class.
  RequestWrapper | Used to annotate methods in the Service Endpoint Interface with the request wrapper bean to be used at runtime.
  RespectBinding | This feature clarifies the use of the `wsdl:binding` in a JAX-WS runtime.
  ResponseWrapper | Used to annotate methods in the Service Endpoint Interface with the response wrapper bean to be used at runtime.
  ServiceMode | Used to indicate whether a `Provider` implementation wishes to work with entire protocol messages or just with protocol message payloads.
  WebEndpoint | Used to annotate the `getPortName()` methods of a generated service interface.
  WebFault | Used to annotate service specific exception classes to customize to the local and namespace name of the fault element and the name of the fault bean.
  WebServiceClient | Used to annotate a generated service interface.
  WebServiceProvider | Used to annotate a Provider implementation class.
  WebServiceRef | The `WebServiceRef` annotation is used to define a reference to a web service and (optionally) an injection target for it.
  WebServiceRefs | The `WebServiceRefs` annotation allows multiple web service references to be declared at the class level.

## Package javax.xml.ws Description

This package contains the core JAX-WS APIs.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.