public final class RespectBindingFeature extends WebServiceFeature
wsdl:binding
。此功能可SEI代理的创建过程中使用,并在服务器端对客户端和
Endpoint
Dispatch
实例实例。此功能不可用于
Service
实例创建在客户端。
此功能是唯一有用的,都有一个关联的WSDL的Web服务。启用此功能需要一个JAX-WS实施检查时的一个端点,以确保所有wsdl:extensions
有required
属性设置为true
wsdl:binding
的理解和运用。
以下描述了此功能的影响,将启用或禁用:
wsdl:binding
扩展(包括政策)是理解和运行时使用,或明确禁用的Web服务应用程序。Web服务可以如果有相应的WebServiceFeature
或标注禁用特定的扩展。同样,Web服务客户端可以禁用特定的扩展,使用相应的WebServiceFeature
而创建一个代理或调度实例。运行时也必须确保SEI参数/返回值结合方面的wsdl:binding
。启用此功能,如果需要(wsdl:required="true"
)wsdl:binding
延伸是WSDL,它不是由一个JAX-WS运行库支持,也一直没有明确关闭的Web服务的开发,那么基于JAX-WS运行时必须适当的行为,无论是在客户端或服务器:
WebServiceException
没有快比在上面方法被调用但不迟于一个端点的操作第一次调用。WebServiceException
和端点必须失败的部署wsdl:binding
或不到什么程度的wsdl:binding
将检查。例如,一个实现可以选择像如果启用此功能,另一个实现可能只选择检查SEI的参数、返回类型绑定。AddressingFeature
Modifier and Type | Field and Description |
---|---|
static String |
ID
定值确定respectbindingfeature
|
enabled
Constructor and Description |
---|
RespectBindingFeature()
创建一个
RespectBindingFeature 。
|
RespectBindingFeature(boolean enabled)
创建一个respectbindingfeature
|
public static final String ID
public RespectBindingFeature()
RespectBindingFeature
。创建的实例将被启用。
public RespectBindingFeature(boolean enabled)
enabled
-指定是否启用此功能应不。
public String getID()
getID
方法重写,继承类
WebServiceFeature
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.