public interface JAXWSProperties
@Deprecated static final String CONTENT_NEGOTIATION_PROPERTY
static final String MTOM_THRESHOLOD_VALUE
static final String HTTP_EXCHANGE
static final String CONNECT_TIMEOUT
BindingProvider.getRequestContext()
to
enable URLConnection.setConnectTimeout(int)
int timeout = ...;
Map
static final String REQUEST_TIMEOUT
BindingProvider.getRequestContext()
to
enable URLConnection.setReadTimeout(int)
int timeout = ...;
Map
static final String HTTP_CLIENT_STREAMING_CHUNK_SIZE
BindingProvider.getRequestContext()
to
enable HttpURLConnection.setChunkedStreamingMode(int)
int chunkSize = ...;
Map
static final String HOSTNAME_VERIFIER
BindingProvider.getRequestContext()
to
enable HttpsURLConnection.setHostnameVerifier(HostnameVerifier)
}. The property
is set as follows:
HostNameVerifier hostNameVerifier = ...;
Map
THIS PROPERTY IS EXPERIMENTAL AND IS SUBJECT TO CHANGE WITHOUT NOTICE IN FUTURE.
static final String SSL_SOCKET_FACTORY
BindingProvider.getRequestContext()
to
enable HttpsURLConnection.setSSLSocketFactory(SSLSocketFactory)
. The property is set
as follows:
SSLSocketFactory sslFactory = ...;
Map
THIS PROPERTY IS EXPERIMENTAL AND IS SUBJECT TO CHANGE WITHOUT NOTICE IN FUTURE.
static final String INBOUND_HEADER_LIST_PROPERTY
On WebServiceContext
, this property returns a HeaderList
object
that represents SOAP headers in the request message that was received.
On BindingProvider.getResponseContext()
, this property returns a
HeaderList
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.
static final String WSENDPOINT
WSEndpoint
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 this WSEndpoint
from WebServiceContext
,
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.
static final String ADDRESSING_TO
WSEndpointReference
.
Null if the incoming SOAP message didn't have the header.static final String ADDRESSING_FROM
WSEndpointReference
.
Null if the incoming SOAP message didn't have the header.static final String ADDRESSING_ACTION
String
.
Null if the incoming SOAP message didn't have the header.static final String ADDRESSING_MESSAGEID
String
.
Null if the incoming SOAP message didn't have the header.static final String HTTP_REQUEST_URL
The property value is available on incoming SOAP message on servlet transport.
static final String REST_BINDING
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));
Copyright © 2015 Oracle Corporation. All rights reserved.