| Modifier and Type | Field and Description |
|---|---|
static String |
SOAP11HTTP_BINDING
表示SOAP 1.1通过HTTP绑定的身份的常量。
|
static String |
SOAP11HTTP_MTOM_BINDING
默认情况下,表示使用MTOM的HTTP 1.1绑定的SOAP 1.1的身份的常量。
|
static String |
SOAP12HTTP_BINDING
一个表示SOAP 1.2通过HTTP绑定的身份的常量。
|
static String |
SOAP12HTTP_MTOM_BINDING
默认情况下,表示通过HTTP绑定的SOAP 1.2身份的常量,MTOM启用。
|
| Modifier and Type | Method and Description |
|---|---|
MessageFactory |
getMessageFactory()
获取此SOAP绑定使用的SAAJ
MessageFactory实例。
|
Set<String> |
getRoles()
获取SOAP绑定实例扮演的角色。
|
SOAPFactory |
getSOAPFactory()
获取此SOAP绑定使用的SAAJ
SOAPFactory实例。
|
boolean |
isMTOMEnabled()
如果使用MTOM,则返回
true 。
|
void |
setMTOMEnabled(boolean flag)
启用或禁用MTOM的使用。
|
void |
setRoles(Set<String> roles)
设置SOAP绑定实例扮演的角色。
|
getBindingID, getHandlerChain, setHandlerChainstatic final String SOAP11HTTP_BINDING
static final String SOAP12HTTP_BINDING
static final String SOAP11HTTP_MTOM_BINDING
static final String SOAP12HTTP_MTOM_BINDING
void setRoles(Set<String> roles)
roles - 绑定实例扮演的角色集。
WebServiceException - 角色列表配置中的错误。
boolean isMTOMEnabled()
true 。
true当且仅当启用了MTOM的使用。
void setMTOMEnabled(boolean flag)
flag - A
boolean指定是否启用或禁用MTOM的使用。
WebServiceException - 如果此绑定实例不支持指定的设置。
SOAPFactory getSOAPFactory()
SOAPFactory实例。
MessageFactory getMessageFactory()
MessageFactory实例。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.