| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BindingProvider
The BindingProvider interface provides access to the
 protocol binding and associated context objects for request and
 response message processing.
Binding| Field Summary | |
|---|---|
| static String | ENDPOINT_ADDRESS_PROPERTYStandard property: Target service endpoint address. | 
| static String | PASSWORD_PROPERTYStandard property: Password for authentication. | 
| static String | SESSION_MAINTAIN_PROPERTYStandard 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_PROPERTYStandard property for SOAPAction. | 
| static String | SOAPACTION_USE_PROPERTYStandard property for SOAPAction. | 
| static String | USERNAME_PROPERTYStandard property: User name for authentication. | 
| Method Summary | ||
|---|---|---|
|  Binding | getBinding()Get the Binding for this binding provider. | |
|  EndpointReference | getEndpointReference()Returns the EndpointReferenceassociated with
 thisBindingProviderinstance. | |
| 
 | getEndpointReference(Class<T> clazz)Returns the EndpointReferenceassociated with
 thisBindingProviderinstance. | |
|  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 | 
|---|
static final String USERNAME_PROPERTY
Type: java.lang.String
static final String PASSWORD_PROPERTY
Type: java.lang.String
static final String ENDPOINT_ADDRESS_PROPERTY
Type: java.lang.String
static final String SESSION_MAINTAIN_PROPERTY
true, the service client indicates that it wants the session
 to be maintained. If set to false, the session is not maintained.
 The default value for this property is false.
 Type: java.lang.Boolean
static final String SOAPACTION_USE_PROPERTY
javax.xml.ws.soap.http.soapaction.uri property 
 is used for the value of the SOAPAction. The  
 default value of this property is false indicating 
 that the 
 javax.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 is 
 true.
 
 Type: java.lang.Boolean
static final String SOAPACTION_URI_PROPERTY
javax.xml.ws.soap.http.soapaction.use  
 property is set to true. 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
| Method Detail | 
|---|
Map<String,Object> getRequestContext()
Map<String,Object> getResponseContext()
Binding getBinding()
EndpointReference getEndpointReference()
EndpointReference associated with
 this BindingProvider instance.
 
 If the Binding for this bindingProvider is
 either SOAP1.1/HTTP or SOAP1.2/HTTP, then a
 W3CEndpointReference MUST be returned.
BindingProvider instance.
UnsupportedOperationException - If this 
 BindingProvider uses the XML/HTTP binding.W3CEndpointReference<T extends EndpointReference> T getEndpointReference(Class<T> clazz)
EndpointReference associated with
 this BindingProvider instance.  The instance
 returned will be of type clazz.
clazz - Specifies the type of EndpointReference
 that MUST be returned.
BindingProvider instance. MUST be of type
 clazz.
WebServiceException - If the Class clazz
 is not supported by this implementation.
UnsupportedOperationException - If this 
 BindingProvider uses the XML/HTTP binding.| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 1993, 2010, Oracle and/or its affiliates. All rights reserved.