- All Known Subinterfaces:
BindingProviderProperties
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Gets thewsa:Action
header value.static final String
Gets thewsa:From
header.static final String
Gets thewsa:MessageID
header value.static final String
Gets thewsa:To
header.static final String
Set this property on theBindingProvider.getRequestContext()
to enableURLConnection.setConnectTimeout(int)
static final String
Set this property on theBindingProvider.getRequestContext()
to enableHttpsURLConnection.setHostnameVerifier(HostnameVerifier)
}.static final String
Set this property on theBindingProvider.getRequestContext()
to enableHttpURLConnection.setChunkedStreamingMode(int)
static final String
static final String
Reconstructs the URL the client used to make the request.static final String
Acccess the list of SOAP headers in the SOAP message.static final String
static final String
Set this property to enableHttpURLConnection.setAuthenticator(Authenticator)
, available in JDK9+.static final String
Set this property on theBindingProvider.getRequestContext()
to enableURLConnection.setReadTimeout(int)
static final String
Binding to represent RESTful services.static final String
Set this property on theBindingProvider.getRequestContext()
to enableHttpsURLConnection.setSSLSocketFactory(SSLSocketFactory)
.static final String
Access theWSEndpoint
object that delivered the request.
-
Field Details
-
MTOM_THRESHOLOD_VALUE
- See Also:
-
HTTP_EXCHANGE
- See Also:
-
CONNECT_TIMEOUT
Set this property on theBindingProvider.getRequestContext()
to enableURLConnection.setConnectTimeout(int)
int timeout = ...; Map<String, Object> ctxt = ((BindingProvider)proxy).getRequestContext(); ctxt.put(CONNECT_TIMEOUT, timeout);
- See Also:
-
REQUEST_TIMEOUT
Set this property on theBindingProvider.getRequestContext()
to enableURLConnection.setReadTimeout(int)
int timeout = ...; Map<String, Object> ctxt = ((BindingProvider)proxy).getRequestContext(); ctxt.put(REQUEST_TIMEOUT, timeout);
- See Also:
-
HTTP_CLIENT_STREAMING_CHUNK_SIZE
Set this property on theBindingProvider.getRequestContext()
to enableHttpURLConnection.setChunkedStreamingMode(int)
int chunkSize = ...; Map<String, Object> ctxt = ((BindingProvider)proxy).getRequestContext(); ctxt.put(HTTP_CLIENT_STREAMING_CHUNK_SIZE, chunkSize);
- See Also:
-
HOSTNAME_VERIFIER
Set this property on theBindingProvider.getRequestContext()
to enableHttpsURLConnection.setHostnameVerifier(HostnameVerifier)
}. The property is set as follows:HostNameVerifier hostNameVerifier = ...; Map<String, Object> ctxt = ((BindingProvider)proxy).getRequestContext(); ctxt.put(HOSTNAME_VERIFIER, hostNameVerifier);
THIS PROPERTY IS EXPERIMENTAL AND IS SUBJECT TO CHANGE WITHOUT NOTICE IN FUTURE.
- See Also:
-
SSL_SOCKET_FACTORY
Set this property on theBindingProvider.getRequestContext()
to enableHttpsURLConnection.setSSLSocketFactory(SSLSocketFactory)
. The property is set as follows:SSLSocketFactory sslFactory = ...; Map<String, Object> 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:
-
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:
-
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:
-
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:
-
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:
-
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:
-
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:
-
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:
-
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:
-
REQUEST_AUTHENTICATOR
Set this property to enableHttpURLConnection.setAuthenticator(Authenticator)
, available in JDK9+.- Since:
- 2.3.4
- See Also:
-