Modifier and Type | Field and Description |
---|---|
static String |
SOAP11HTTP_BINDING
一个常数表示SOAP 1.1 HTTP绑定的身份。
|
static String |
SOAP11HTTP_MTOM_BINDING
一个常数表示SOAP 1.1 HTTP和MTOM默认启用身份绑定。
|
static String |
SOAP12HTTP_BINDING
一个常数表示SOAP 1.2 HTTP绑定的身份。
|
static String |
SOAP12HTTP_MTOM_BINDING
一个常数表示SOAP 1.2 HTTP和MTOM默认启用身份绑定。
|
Modifier and Type | Method and Description |
---|---|
MessageFactory |
getMessageFactory()
被这种肥皂结合使用SAAJ
MessageFactory 实例。
|
Set<String> |
getRoles()
获取由绑定实例播放的角色。
|
SOAPFactory |
getSOAPFactory()
被这种肥皂结合使用SAAJ
SOAPFactory 实例。
|
boolean |
isMTOMEnabled()
返回
true 如果使用启用MTOM。
|
void |
setMTOMEnabled(boolean flag)
启用或禁用使用MTOM。
|
void |
setRoles(Set<String> roles)
设置由“绑定”实例播放的角色。
|
getBindingID, getHandlerChain, setHandlerChain
static 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
如果使用启用MTOM。
true
当且仅当启用MTOM的使用。
void setMTOMEnabled(boolean flag)
flag
-
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.