|
JAX-WS v2.1 |
||||||||
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 java.lang.String |
ENDPOINT_ADDRESS_PROPERTY
Standard property: Target service endpoint address. |
static java.lang.String |
PASSWORD_PROPERTY
Standard property: Password for authentication. |
static java.lang.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 java.lang.String |
SOAPACTION_URI_PROPERTY
Standard property for SOAPAction. |
static java.lang.String |
SOAPACTION_USE_PROPERTY
Standard property for SOAPAction. |
static java.lang.String |
USERNAME_PROPERTY
Standard property: User name for authentication. |
Method Summary | ||
---|---|---|
Binding |
getBinding()
Get the Binding for this binding provider. |
|
W3CEndpointReference |
getEndpointReference()
Returns the W3CEndpointReference associated with
this BindingProvider instance. |
|
|
getEndpointReference(java.lang.Class<T> clazz)
Returns the EndpointReference associated with
this BindingProvider instance. |
|
java.util.Map<java.lang.String,java.lang.Object> |
getRequestContext()
Get the context that is used to initialize the message context for request messages. |
|
java.util.Map<java.lang.String,java.lang.Object> |
getResponseContext()
Get the context that resulted from processing a response message. |
Field Detail |
---|
static final java.lang.String USERNAME_PROPERTY
Type: java.lang.String
static final java.lang.String PASSWORD_PROPERTY
Type: java.lang.String
static final java.lang.String ENDPOINT_ADDRESS_PROPERTY
Type: java.lang.String
static final java.lang.String SESSION_MAINTAIN_PROPERTY
Type: java.lang.Boolean
static final java.lang.String SOAPACTION_USE_PROPERTY
Type: java.lang.Boolean
static final java.lang.String SOAPACTION_URI_PROPERTY
javax.xml.ws.soap.http.soapaction.use
property is set to true
.
Type: java.lang.String
Method Detail |
---|
java.util.Map<java.lang.String,java.lang.Object> getRequestContext()
java.util.Map<java.lang.String,java.lang.Object> getResponseContext()
Binding getBinding()
W3CEndpointReference getEndpointReference()
W3CEndpointReference
associated with
this BindingProvider
instance.
The returned W3CEndpointReference
must contain
the embedded WSDL in the wsa:Metadata
element if
this WSDL is available. It must also contain the
wsaw:ServiceName
elements and the wsaw:EndpointName
attribute on the wsaw:ServiceName
for BindingProviders
created from Services that contained that information. The
wsaw:InterfaceName
may also be present.
java.lang.UnsupportedOperationException
- If this BindingProvider
uses the XML/HTTP binding.<T extends EndpointReference> T getEndpointReference(java.lang.Class<T> clazz)
EndpointReference
associated with
this BindingProvider
instance. The instance
returned will be of type clazz
.
The returned EndpointReference
must contain
the embedded WSDL in the wsa:Metadata
element
if the WSDL is available. It must also contain the
wsaw:ServiceName
elements and the wsaw:EndpointName
attribute on the wsaw:ServiceName
for BindingProviders
created from Services that contained that information. The
wsaw:InterfaceName
may also be present.
clazz
.
WebServiceException
- If the Class clazz
is not supported by this implementation.
java.lang.UnsupportedOperationException
- If this BindingProvider
uses the XML/HTTP binding.
|
JAX-WS v2.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2006 by Sun Microsystems, Inc., 4150 Network Circle,
Santa Clara, California 95054, U.S.A. All Rights Reserved.