Class SOAPBinding

  • All Implemented Interfaces:
    Binding, SOAPBinding, Binding

    public class SOAPBinding
    extends BindingImpl
    implements SOAPBinding
    An implementation of the javax.xml.ws.soap.SOAPBinding interface. This is the default binding for JAX-WS, and will exist for all Dispatch and Dynamic Proxy instances unless the XML/HTTP Binding is explicitly specificied.
    • Method Detail

      • getMTOMThreshold

        public int getMTOMThreshold()
      • setMTOMThreshold

        public void setMTOMThreshold​(int threshold)
      • isRespectBindingEnabled

        public boolean isRespectBindingEnabled()
      • setRespectBindingEnabled

        public void setRespectBindingEnabled​(boolean enabled)
      • isAddressingConfigured

        public boolean isAddressingConfigured()
        Indicates if Addressing was configured explicitly via metadata, such as through a deployment descriptor. If an AddressingAnnot was specified in the DBC, then this will answer true. The related addressing methods will return a default value if this method returns false.
        Returns:
        true if addressing was explicitly configured via an AddressingAnnot in the DBC; false otherwise.
        See Also:
        isAddressingEnabled(), isAddressingRequired(), getAddressingResponses()
      • setAddressingConfigured

        public void setAddressingConfigured​(boolean configured)
        Set whether Addressing was explicitly configured via metadata. The default is false.
        Parameters:
        configured - boolean indicating of addressing was configured via metadata.
      • isAddressingEnabled

        public boolean isAddressingEnabled()
        Indicates if addressing is enabled or disabled. Note that if addressing was not explicitly configured via metadata, this will return a default value.
        Returns:
        true if addressing is enabled, false (default) otherwise.
        See Also:
        isAddressingConfigured()
      • setAddressingEnabled

        public void setAddressingEnabled​(boolean enabled)
      • isAddressingRequired

        public boolean isAddressingRequired()
        Indicates if addressing is required or not. Note that if addressing was not explicitly configured via metadata, this will return a default value.
        Returns:
        true if addressing is required, false (default) otherwise.
        See Also:
        isAddressingConfigured()
      • setAddressingRequired

        public void setAddressingRequired​(boolean required)
      • getAddressingResponses

        public AddressingFeature.Responses getAddressingResponses()
        Return the type of responses required by Addressing. Note that if addressing was not explicitly configured via metadata, this will return a default value.
        Returns:
        AddressingFeature.Responses ENUM value indicating what type of addressing responses are required.
        See Also:
        isAddressingConfigured()