Set the REQUEST_TRANSPORT_PROPERTIES and RESPONSE_TRANSPORT_PROPERTIES properties
to enable a web services client to send or retrieve transport headers.
Set the properties on the BindingProvider instance.
By
modifying your client code to send or retrieve transport headers,
you can send or receive specific information within the transport
headers of outgoing requests or incoming responses from the server.
For requests or responses that use the HTTP transport, the information
is sent or retrieved in an HTTP header. Similarly, for a request or
response that uses the Java Message
Service (JMS) transport, the information is sent or retrieved in a
JMS message property.
To learn how to modify your client code
to send or retrieve transport headers, see the information on sending
transport headers with JAX-WS or retrieving transport headers with
JAX-WS.
To learn how to enable a web services client to send
or retrieve transport headers, see the transport header properties
best practices information.