Interface JAXWSProperties
-
- All Known Subinterfaces:
BindingProviderProperties
public interface JAXWSProperties
-
-
Field Summary
Fields Modifier and Type Field Description static StringADDRESSING_ACTIONGets thewsa:Actionheader value.static StringADDRESSING_FROMGets thewsa:Fromheader.static StringADDRESSING_MESSAGEIDGets thewsa:MessageIDheader value.static StringADDRESSING_TOGets thewsa:Toheader.static StringCONNECT_TIMEOUTSet this property on theBindingProvider.getRequestContext()to enableURLConnection.setConnectTimeout(int)static StringCONTENT_NEGOTIATION_PROPERTYDeprecated.static StringHOSTNAME_VERIFIERSet this property on theBindingProvider.getRequestContext()to enableHttpsURLConnection.setHostnameVerifier(HostnameVerifier)}.static StringHTTP_CLIENT_STREAMING_CHUNK_SIZESet this property on theBindingProvider.getRequestContext()to enableHttpURLConnection.setChunkedStreamingMode(int)static StringHTTP_EXCHANGEstatic StringHTTP_REQUEST_URLReconstructs the URL the client used to make the request.static StringINBOUND_HEADER_LIST_PROPERTYAcccess the list of SOAP headers in the SOAP message.static StringMTOM_THRESHOLOD_VALUEstatic StringREQUEST_AUTHENTICATORSet this property to enableHttpURLConnection.setAuthenticator(Authenticator), available in JDK9+.static StringREQUEST_TIMEOUTSet this property on theBindingProvider.getRequestContext()to enableURLConnection.setReadTimeout(int)static StringREST_BINDINGBinding to represent RESTful services.static StringSSL_SOCKET_FACTORYSet this property on theBindingProvider.getRequestContext()to enableHttpsURLConnection.setSSLSocketFactory(SSLSocketFactory).static StringWSENDPOINTAccess theWSEndpointobject 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<String, Object> 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<String, Object> 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<String, Object> 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<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:
- 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<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:
- 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 aHeaderListobject that represents SOAP headers in the request message that was received. OnBindingProvider.getResponseContext(), this property returns aHeaderListobject that represents SOAP headers in the response message from the server.The property is read-only, and please do not modify the returned
HeaderListas 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 theWSEndpointobject that delivered the request.WSEndpointis the root of the objects that are together responsible for delivering requests to the application SEI object. One can look up thisWSEndpointfromWebServiceContext, 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:Toheader. 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:Fromheader. 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:Actionheader 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:MessageIDheader 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_BINDINGworks 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
BindingTypeor DD@WebService @BindingType(JAXWSProperties.REST_BINDING)
To enable restful binding on the client side, specify the binding id via
BindingTypeFeatureproxy = 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
-
-