-
-
Field Summary
Fields Modifier and Type Field and Description static String
ENDPOINT_ADDRESS_PROPERTY
Standard property: Target service endpoint address.static String
PASSWORD_PROPERTY
Standard property: Password for authentication.static String
SESSION_MAINTAIN_PROPERTY
Standard property: This boolean property is used by a service client to indicate whether or not it wants to participate in a session with a service endpoint.static String
SOAPACTION_URI_PROPERTY
Standard property for SOAPAction.static String
SOAPACTION_USE_PROPERTY
Standard property for SOAPAction.static String
USERNAME_PROPERTY
Standard property: User name for authentication.
-
Method Summary
Methods Modifier and Type Method and Description Binding
getBinding()
Get the Binding for this binding provider.EndpointReference
getEndpointReference()
Returns theEndpointReference
associated with thisBindingProvider
instance.<T extends EndpointReference>
TgetEndpointReference(Class<T> clazz)
Returns theEndpointReference
associated with thisBindingProvider
instance.Map<String,Object>
getRequestContext()
Get the context that is used to initialize the message context for request messages.Map<String,Object>
getResponseContext()
Get the context that resulted from processing a response message.
-
-
-
Field Detail
-
USERNAME_PROPERTY
static final String USERNAME_PROPERTY
Standard property: User name for authentication.Type:
java.lang.String
- See Also:
- Constant Field Values
-
PASSWORD_PROPERTY
static final String PASSWORD_PROPERTY
Standard property: Password for authentication.Type:
java.lang.String
- See Also:
- Constant Field Values
-
ENDPOINT_ADDRESS_PROPERTY
static final String ENDPOINT_ADDRESS_PROPERTY
Standard property: Target service endpoint address. The URI scheme for the endpoint address specification MUST correspond to the protocol/transport binding for the binding in use.Type:
java.lang.String
- See Also:
- Constant Field Values
-
SESSION_MAINTAIN_PROPERTY
static final String SESSION_MAINTAIN_PROPERTY
Standard property: This boolean property is used by a service client to indicate whether or not it wants to participate in a session with a service endpoint. If this property is set totrue
, the service client indicates that it wants the session to be maintained. If set tofalse
, the session is not maintained. The default value for this property isfalse
.Type:
java.lang.Boolean
- See Also:
- Constant Field Values
-
SOAPACTION_USE_PROPERTY
static final String SOAPACTION_USE_PROPERTY
Standard property for SOAPAction. This boolean property indicates whether or not the value of thejavax.xml.ws.soap.http.soapaction.uri
property is used for the value of the SOAPAction. The default value of this property isfalse
indicating that thejavax.xml.ws.soap.http.soapaction.uri
property is not used for the value of the SOAPAction, however, if WS-Addressing is enabled, the default value istrue
.Type:
java.lang.Boolean
- See Also:
- Constant Field Values
-
SOAPACTION_URI_PROPERTY
static final String SOAPACTION_URI_PROPERTY
Standard property for SOAPAction. Indicates the SOAPAction URI if thejavax.xml.ws.soap.http.soapaction.use
property is set totrue
. If WS-Addressing is enabled, this value will also be used for the value of the WS-Addressing Action header. If this property is not set, the default SOAPAction and WS-Addressing Action will be sent.Type:
java.lang.String
- See Also:
- Constant Field Values
-
-
Method Detail
-
getRequestContext
Map<String,Object> getRequestContext()
Get the context that is used to initialize the message context for request messages. Modifications to the request context do not affect the message context of either synchronous or asynchronous operations that have already been started.- Returns:
- The context that is used in processing request messages.
-
getResponseContext
Map<String,Object> getResponseContext()
Get the context that resulted from processing a response message. The returned context is for the most recently completed synchronous operation. Subsequent synchronous operation invocations overwrite the response context. Asynchronous operations return their response context via the Response interface.- Returns:
- The context that resulted from processing the latest response messages.
-
getBinding
Binding getBinding()
Get the Binding for this binding provider.- Returns:
- The Binding for this binding provider.
-
getEndpointReference
EndpointReference getEndpointReference()
Returns theEndpointReference
associated with thisBindingProvider
instance.If the Binding for this
bindingProvider
is either SOAP1.1/HTTP or SOAP1.2/HTTP, then aW3CEndpointReference
MUST be returned.- Returns:
- EndpointReference of the target endpoint associated with this
BindingProvider
instance. - Throws:
UnsupportedOperationException
- If thisBindingProvider
uses the XML/HTTP binding.- Since:
- JAX-WS 2.1
- See Also:
W3CEndpointReference
-
getEndpointReference
<T extends EndpointReference> T getEndpointReference(Class<T> clazz)
Returns theEndpointReference
associated with thisBindingProvider
instance. The instance returned will be of typeclazz
.- Parameters:
clazz
- Specifies the type ofEndpointReference
that MUST be returned.- Returns:
- EndpointReference of the target endpoint associated with this
BindingProvider
instance. MUST be of typeclazz
. - Throws:
WebServiceException
- If the Classclazz
is not supported by this implementation.UnsupportedOperationException
- If thisBindingProvider
uses the XML/HTTP binding.- Since:
- JAX-WS 2.1
-
-
Nederlandse vertaling
U hebt gevraagd om deze site in het Nederlands te bezoeken. Voor nu wordt alleen de interface vertaald, maar nog niet alle inhoud.Als je me wilt helpen met vertalingen, is je bijdrage welkom. Het enige dat u hoeft te doen, is u op de site registreren en mij een bericht sturen waarin u wordt gevraagd om u toe te voegen aan de groep vertalers, zodat u de gewenste pagina's kunt vertalen. Een link onderaan elke vertaalde pagina geeft aan dat u de vertaler bent en heeft een link naar uw profiel.
Bij voorbaat dank.
Document heeft de 11/06/2005 gemaakt, de laatste keer de 04/03/2020 gewijzigd
Bron van het afgedrukte document:https://www.gaudry.be/nl/java-api-rf-javax/xml/ws/BindingProvider.html
De infobrol is een persoonlijke site waarvan de inhoud uitsluitend mijn verantwoordelijkheid is. De tekst is beschikbaar onder CreativeCommons-licentie (BY-NC-SA). Meer info op de gebruiksvoorwaarden en de auteur.
Referenties
Deze verwijzingen en links verwijzen naar documenten die geraadpleegd zijn tijdens het schrijven van deze pagina, of die aanvullende informatie kunnen geven, maar de auteurs van deze bronnen kunnen niet verantwoordelijk worden gehouden voor de inhoud van deze pagina.
De auteur Deze site is als enige verantwoordelijk voor de manier waarop de verschillende concepten, en de vrijheden die met de referentiewerken worden genomen, hier worden gepresenteerd. Vergeet niet dat u meerdere broninformatie moet doorgeven om het risico op fouten te verkleinen.