+

Search Tips   |   Advanced Search

Building a reliable Web service application


Develop a JAX-WS provider or requester application, and configure a policy set to enable WS-ReliableMessaging. Install the application then attach the policy set. To use either of the managed qualities of service, bind the application or policy set to a service integration bus and messaging engine.

At any stage - that is, before or after we have built the reliable Web service application, or configured the policy sets - we can set a property that configures endpoints to only support clients that use reliable messaging. This setting is reflected by WS-Policy if engaged.

To configure a Web service application to use WS-ReliableMessaging, you attach a policy set that contains a WS-ReliableMessaging policy type. This policy type offers a range of qualities of service: managed persistent, managed non-persistent, or unmanaged non-persistent. The managed qualities of service, managed persistent and managed non-persistent, are supported by the service integration bus.For each attachment between an application and a policy set, we can select the bus and messaging engine to use for the reliable messaging protocol state. To enable WS-ReliableMessaging for an application, you take the following broad actions:

  1. Develop a JAX-WS Web service provider or requester application.

  2. Install the application into WAS.

  3. Attach a reliable messaging policy set (either a default policy set or one that we have created) to an aspect of the application (that is, application level or Web service level). Policy sets define the reliability level (quality of service) and other configuration options to apply to the reliable messaging application.

  4. Define the bindings for each attachment to a policy set that specifies a managed quality of service. That is, choose the service integration bus and messaging engine to use to maintain the state for the managed persistent and managed non-persistent qualities of service.

 

  1. Develop a reliable Web service application.
  2. Set a policy set instance to enable WS-ReliableMessaging.
  3. Install the reliable JAX-WS Web service application.
  4. Attach and bind a WS-ReliableMessaging policy set to the application.

  5. Save the changes to the master configuration.

  6. Stop then restart the server.

 

Results

A reliable JAX-WS application is deployed into a suitably configured environment and started.


Develop a reliable Web service application
Set endpoints to only support clients that use WS-ReliableMessaging

 

Related concepts


JAX-WS application deployment model

 

Related tasks


Learn about WS-ReliableMessaging
Set a WS-ReliableMessaging policy set
Set a WS-ReliableMessaging policy set using wsadmin
Attach and binding a WS-ReliableMessaging policy set to a Web service application
Attach and binding a WS-ReliableMessaging policy set to a Web service application using wsadmin
Add assured delivery to Web services through WS-ReliableMessaging