Interface JAXWSProperties
-
- All Known Subinterfaces:
BindingProviderProperties
public interface JAXWSProperties
-
-
Field Summary
Fields Modifier and Type Field Description static String
ADDRESSING_ACTION
Gets thewsa:Action
header value.static String
ADDRESSING_FROM
Gets thewsa:From
header.static String
ADDRESSING_MESSAGEID
Gets thewsa:MessageID
header value.static String
ADDRESSING_TO
Gets thewsa:To
header.static String
CONNECT_TIMEOUT
Set this property on theBindingProvider.getRequestContext()
to enableURLConnection.setConnectTimeout(int)
static String
CONTENT_NEGOTIATION_PROPERTY
Deprecated.static String
HOSTNAME_VERIFIER
Set this property on theBindingProvider.getRequestContext()
to enableHttpsURLConnection.setHostnameVerifier(HostnameVerifier)
}.static String
HTTP_CLIENT_STREAMING_CHUNK_SIZE
Set this property on theBindingProvider.getRequestContext()
to enableHttpURLConnection.setChunkedStreamingMode(int)
static String
HTTP_EXCHANGE
static String
HTTP_REQUEST_URL
Reconstructs the URL the client used to make the request.static String
INBOUND_HEADER_LIST_PROPERTY
Acccess the list of SOAP headers in the SOAP message.static String
MTOM_THRESHOLOD_VALUE
static String
REQUEST_AUTHENTICATOR
Set this property to enableHttpURLConnection.setAuthenticator(Authenticator)
, available in JDK9+.static String
REQUEST_TIMEOUT
Set this property on theBindingProvider.getRequestContext()
to enableURLConnection.setReadTimeout(int)
static String
REST_BINDING
Binding to represent RESTful services.static String
SSL_SOCKET_FACTORY
Set this property on theBindingProvider.getRequestContext()
to enableHttpsURLConnection.setSSLSocketFactory(SSLSocketFactory)
.static String
WSENDPOINT
Access theWSEndpoint
object that delivered the request.
-
-
-
Field Detail
-
CONTENT_NEGOTIATION_PROPERTY
@Deprecated static final String CONTENT_NEGOTIATION_PROPERTY
Deprecated.- See Also:
- Constant Field Values
-
MTOM_THRESHOLOD_VALUE
static final String MTOM_THRESHOLOD_VALUE
- See Also:
- Constant Field Values
-
HTTP_EXCHANGE
static final String HTTP_EXCHANGE
- See Also:
- Constant Field Values
-
CONNECT_TIMEOUT
static final String CONNECT_TIMEOUT
Set this property on theBindingProvider.getRequestContext()
to enableURLConnection.setConnectTimeout(int)
int timeout = ...; Map
ctxt = ((BindingProvider)proxy).getRequestContext(); ctxt.put(CONNECT_TIMEOUT, timeout); - See Also:
- Constant Field Values
-
REQUEST_TIMEOUT
static final String REQUEST_TIMEOUT
Set this property on theBindingProvider.getRequestContext()
to enableURLConnection.setReadTimeout(int)
int timeout = ...; Map
ctxt = ((BindingProvider)proxy).getRequestContext(); ctxt.put(REQUEST_TIMEOUT, timeout); - See Also:
- Constant Field Values
-
HTTP_CLIENT_STREAMING_CHUNK_SIZE
static final String HTTP_CLIENT_STREAMING_CHUNK_SIZE
Set this property on theBindingProvider.getRequestContext()
to enableHttpURLConnection.setChunkedStreamingMode(int)
int chunkSize = ...; Map
ctxt = ((BindingProvider)proxy).getRequestContext(); ctxt.put(HTTP_CLIENT_STREAMING_CHUNK_SIZE, chunkSize); - See Also:
- Constant Field Values
-
HOSTNAME_VERIFIER
static final String HOSTNAME_VERIFIER
Set this property on theBindingProvider.getRequestContext()
to enableHttpsURLConnection.setHostnameVerifier(HostnameVerifier)
}. The property is set as follows:HostNameVerifier hostNameVerifier = ...; Map
ctxt = ((BindingProvider)proxy).getRequestContext(); ctxt.put(HOSTNAME_VERIFIER, hostNameVerifier); THIS PROPERTY IS EXPERIMENTAL AND IS SUBJECT TO CHANGE WITHOUT NOTICE IN FUTURE.
- See Also:
- Constant Field Values
-
SSL_SOCKET_FACTORY
static final String SSL_SOCKET_FACTORY
Set this property on theBindingProvider.getRequestContext()
to enableHttpsURLConnection.setSSLSocketFactory(SSLSocketFactory)
. The property is set as follows:SSLSocketFactory sslFactory = ...; Map
ctxt = ((BindingProvider)proxy).getRequestContext(); ctxt.put(SSL_SOCKET_FACTORY, sslFactory); THIS PROPERTY IS EXPERIMENTAL AND IS SUBJECT TO CHANGE WITHOUT NOTICE IN FUTURE.
- See Also:
- Constant Field Values
-
INBOUND_HEADER_LIST_PROPERTY
static final String INBOUND_HEADER_LIST_PROPERTY
Acccess the list of SOAP headers in the SOAP message.On
WebServiceContext
, this property returns aHeaderList
object that represents SOAP headers in the request message that was received. OnBindingProvider.getResponseContext()
, this property returns aHeaderList
object that represents SOAP headers in the response message from the server.The property is read-only, and please do not modify the returned
HeaderList
as that may break the JAX-WS RI in some unexpected way.THIS PROPERTY IS EXPERIMENTAL AND IS SUBJECT TO CHANGE WITHOUT NOTICE IN FUTURE.
- See Also:
- Constant Field Values
-
WSENDPOINT
static final String WSENDPOINT
Access theWSEndpoint
object that delivered the request.WSEndpoint
is the root of the objects that are together responsible for delivering requests to the application SEI object. One can look up thisWSEndpoint
fromWebServiceContext
, and from there access many parts of the JAX-WS RI runtime.THIS PROPERTY IS EXPERIMENTAL AND IS SUBJECT TO CHANGE WITHOUT NOTICE IN FUTURE.
- Since:
- 2.1.2
- See Also:
- Constant Field Values
-
ADDRESSING_TO
static final String ADDRESSING_TO
Gets thewsa:To
header. The propery value is available on incoming SOAP message. The type of the value isWSEndpointReference
. Null if the incoming SOAP message didn't have the header.- Since:
- 2.1.3
- See Also:
- Constant Field Values
-
ADDRESSING_FROM
static final String ADDRESSING_FROM
Gets thewsa:From
header. The propery value is available on incoming SOAP message. The type of the value isWSEndpointReference
. Null if the incoming SOAP message didn't have the header.- Since:
- 2.1.3
- See Also:
- Constant Field Values
-
ADDRESSING_ACTION
static final String ADDRESSING_ACTION
Gets thewsa:Action
header value. The propery value is available on incoming SOAP message. The type of the value isString
. Null if the incoming SOAP message didn't have the header.- Since:
- 2.1.3
- See Also:
- Constant Field Values
-
ADDRESSING_MESSAGEID
static final String ADDRESSING_MESSAGEID
Gets thewsa:MessageID
header value. The propery value is available on incoming SOAP message. The type of the value isString
. Null if the incoming SOAP message didn't have the header.- Since:
- 2.1.3
- See Also:
- Constant Field Values
-
HTTP_REQUEST_URL
static final String HTTP_REQUEST_URL
Reconstructs the URL the client used to make the request. The returned URL contains a protocol, server name, port number, and server path, but it does not include query string parameters.The property value is available on incoming SOAP message on servlet transport.
- Since:
- 2.1.3
- See Also:
- Constant Field Values
-
REST_BINDING
static final String REST_BINDING
Binding to represent RESTful services.HTTPBinding.HTTP_BINDING
works only for Dispatch/Provider services, but this binding works with even SEI based services. It would be XML, NOT SOAP on the wire. Hence, the SEI parameters shouldn't be mapped to headers.Note that, this only solves limited RESTful usecases.
To enable restful binding on the service, specify the binding id via
BindingType
or DD@WebService @BindingType(JAXWSProperties.REST_BINDING)
To enable restful binding on the client side, specify the binding id via
BindingTypeFeature
proxy = echoImplService.getEchoImplPort(new BindingTypeFeature(JAXWSProperties.REST_BINDING));
- Since:
- 2.1.4
- See Also:
- Constant Field Values
-
REQUEST_AUTHENTICATOR
static final String REQUEST_AUTHENTICATOR
Set this property to enableHttpURLConnection.setAuthenticator(Authenticator)
, available in JDK9+.- Since:
- 2.3.4
- See Also:
- Constant Field Values
-
-