Interface JAXWSProperties

All Known Subinterfaces:
BindingProviderProperties

public interface JAXWSProperties
  • Field Details

    • MTOM_THRESHOLOD_VALUE

      static final String MTOM_THRESHOLOD_VALUE
      See Also:
    • HTTP_EXCHANGE

      static final String HTTP_EXCHANGE
      See Also:
    • CONNECT_TIMEOUT

      static final String CONNECT_TIMEOUT
      Set this property on the BindingProvider.getRequestContext() to enable URLConnection.setConnectTimeout(int)

      int timeout = ...; Map<String, Object> ctxt = ((BindingProvider)proxy).getRequestContext(); ctxt.put(CONNECT_TIMEOUT, timeout);

      See Also:
    • REQUEST_TIMEOUT

      static final String REQUEST_TIMEOUT
      Set this property on the BindingProvider.getRequestContext() to enable URLConnection.setReadTimeout(int)

      int timeout = ...; Map<String, Object> ctxt = ((BindingProvider)proxy).getRequestContext(); ctxt.put(REQUEST_TIMEOUT, timeout);

      See Also:
    • HTTP_CLIENT_STREAMING_CHUNK_SIZE

      static final String HTTP_CLIENT_STREAMING_CHUNK_SIZE
      Set this property on the BindingProvider.getRequestContext() to enable HttpURLConnection.setChunkedStreamingMode(int)

      int chunkSize = ...; Map<String, Object> ctxt = ((BindingProvider)proxy).getRequestContext(); ctxt.put(HTTP_CLIENT_STREAMING_CHUNK_SIZE, chunkSize);

      See Also:
    • HOSTNAME_VERIFIER

      static final String HOSTNAME_VERIFIER
      Set this property on the BindingProvider.getRequestContext() to enable HttpsURLConnection.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

      static final String SSL_SOCKET_FACTORY
      Set this property on the BindingProvider.getRequestContext() to enable HttpsURLConnection.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

      static final String INBOUND_HEADER_LIST_PROPERTY
      Acccess the list of SOAP headers in the SOAP message.

      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.

      See Also:
    • WSENDPOINT

      static final String WSENDPOINT
      Access the 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.

      Since:
      2.1.2
      See Also:
    • ADDRESSING_TO

      static final String ADDRESSING_TO
      Gets the wsa:To header. The propery value is available on incoming SOAP message. The type of the value is WSEndpointReference. Null if the incoming SOAP message didn't have the header.
      Since:
      2.1.3
      See Also:
    • ADDRESSING_FROM

      static final String ADDRESSING_FROM
      Gets the wsa:From header. The propery value is available on incoming SOAP message. The type of the value is WSEndpointReference. Null if the incoming SOAP message didn't have the header.
      Since:
      2.1.3
      See Also:
    • ADDRESSING_ACTION

      static final String ADDRESSING_ACTION
      Gets the wsa:Action header value. The propery value is available on incoming SOAP message. The type of the value is String. Null if the incoming SOAP message didn't have the header.
      Since:
      2.1.3
      See Also:
    • ADDRESSING_MESSAGEID

      static final String ADDRESSING_MESSAGEID
      Gets the wsa:MessageID header value. The propery value is available on incoming SOAP message. The type of the value is String. Null if the incoming SOAP message didn't have the header.
      Since:
      2.1.3
      See Also:
    • 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:
    • 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:
    • REQUEST_AUTHENTICATOR

      static final String REQUEST_AUTHENTICATOR
      Set this property to enable HttpURLConnection.setAuthenticator(Authenticator), available in JDK9+.
      Since:
      2.3.4
      See Also: