Network Deployment (Distributed operating systems), v8.0 > Develop and deploying applications > Develop web services - Addressing (WS-Addressing) > Use the Web Services Addressing APIs: Creating an application that uses endpoint references > Create a JAX-WS web service application that uses Web Services Addressing


Create endpoint references by using the JAX-WS Web Services Addressing API

Endpoint references are a primary concept of the Web Services Addressing (WS-Addressing) interoperability protocol, and provide a standard mechanism to encapsulate information about specific web service endpoints. This product provides interfaces for you to create endpoint references by using the standard JAX-WS API.

This task is a subtask of Create a JAX-WS web service application that uses Web Services Addressing.

Complete this task if you are writing an application that uses the standard JAX-WS WS-Addressing API. Such applications require endpoint references to target web service endpoints. The standard JAX-WS API is designed to create only simple endpoint references, and therefore has the following restrictions:

We can overcome these restrictions by using the IBM proprietary WS-Addressing API to create the endpoint references and then converting them into standard JAX-WS endpoint references that can be used by the rest of the application.


Procedure


Results

You created an endpoint reference for use by the application.


What to do next

  1. If required, convert the endpoint reference to an instance of the com.ibm.websphere.wsaddressing.EndpointReference class, by using the createIBMEndpointReference method. For example, on a client you might want to set the FaultTo message addressing property for outbound messages. We cannot set this property by using the JAX-WS API, so convert the endpoint reference representing the FaultTo endpoint to an instance of the com.ibm.websphere.wsaddressing.EndpointReference class, before setting it as a property on the BindingProvider object.
  2. Continue with Create a JAX-WS web service application that uses Web Services Addressing.


Web Services Addressing: firewalls and intermediary nodes
IBM proprietary Web Services Addressing SPIs
Create endpoint references by using the JAX-WS Web Services Addressing API
Create a JAX-WS web service application that uses Web Services Addressing
Additional Application Programming Interfaces (APIs)

+

Search Tips   |   Advanced Search