| com.sun.xml.ws.api.WSBinding
All known Subclasses: com.sun.xml.ws.binding.BindingImpl,
WSBinding | public interface WSBinding extends Binding(Code) | | JAX-WS implementation of
Binding .
This object can be created by
BindingID.createBinding .
Binding conceptually includes the on-the-wire format of the message,
this this object owns
Codec .
author: Kohsuke Kawaguchi |
getAddressingVersion | AddressingVersion getAddressingVersion()(Code) | | Gets the WS-Addressing version of this binding.
TODO: clarify what to do with XML/HTTP binding
If the binding is using SOAP and WS-Addressing is enabled,this method returns a AddressingVersion constant.If binding is not using SOAP or WS-Addressing is not enabled,this method returns null.This might be little slow as it has to go over all the features on binding.Its advisable to cache the addressingVersion wherever possible and reuse it. |
getBindingId | BindingID getBindingId()(Code) | | Gets the binding ID, which uniquely identifies the binding.
The relevant specs define the binding IDs and what they mean.
The ID is used in many places to identify the kind of binding
(such as SOAP1.1, SOAP1.2, REST, ...)
Always non-null same value. |
getFeature | F getFeature(Class<F> featureType)(Code) | | Gets a
WebServiceFeature of the specific type.
Parameters: featureType - The type of the feature to retrieve.If the feature is present and enabled, return a non-null instance.Otherwise null. |
getSOAPVersion | SOAPVersion getSOAPVersion()(Code) | | Gets the SOAP version of this binding.
TODO: clarify what to do with XML/HTTP binding
This is just a shor-cut for
getBindingID().getSOAPVersion() If the binding is using SOAP, this method returnsa SOAPVersion constant.If the binding is not based on SOAP, this methodreturns null. See Message for how a non-SOAPbinding shall be handled by Tubes. |
|
|