Class AxisBinding

java.lang.Object
org.apache.axis2.description.AxisDescription
org.apache.axis2.description.AxisBinding
All Implemented Interfaces:
DescriptionConstants, ParameterInclude

public class AxisBinding extends AxisDescription
An AxisBinding represents a WSDL binding, and contains AxisBindingOperations.
  • Constructor Details

    • AxisBinding

      public AxisBinding()
  • Method Details

    • getFault

      public AxisBindingMessage getFault(String name)
    • addFault

      public void addFault(AxisBindingMessage fault)
    • setProperty

      public void setProperty(String name, Object value)
    • getProperty

      public Object getProperty(String name)
      Parameters:
      name - name of the property to search for
      Returns:
      the value of the property, or null if the property is not found
    • getName

      public QName getName()
    • setName

      public void setName(QName name)
    • getType

      public String getType()
    • setType

      public void setType(String type)
    • getKey

      public Object getKey()
      Specified by:
      getKey in class AxisDescription
    • engageModule

      public void engageModule(AxisModule axisModule) throws AxisFault
      Description copied from class: AxisDescription
      Engage a Module at this level
      Overrides:
      engageModule in class AxisDescription
      Parameters:
      axisModule - the Module to engage
      Throws:
      AxisFault - if there's a problem engaging
    • isEngaged

      public boolean isEngaged(String moduleName)
      Description copied from class: AxisDescription
      Check if a given module is engaged at this level.
      Overrides:
      isEngaged in class AxisDescription
      Parameters:
      moduleName - module to investigate.
      Returns:
      true if engaged, false if not. TODO: Handle versions? isEngaged("addressing") should be true even for versioned modulename...
    • toWSDL20

      public org.apache.axiom.om.OMElement toWSDL20(org.apache.axiom.om.OMNamespace wsdl, org.apache.axiom.om.OMNamespace tns, org.apache.axiom.om.OMNamespace wsoap, org.apache.axiom.om.OMNamespace whttp, String interfaceName, Map nameSpaceMap, String addressingFlag, String serviceName, org.apache.axiom.om.OMNamespace wsaw)
      Generate the <binding> element
      Parameters:
      wsdl - the WSDL namespace
      tns - the target namespace
      wsoap - the SOAP namespace
      whttp - the HTTP namespace
      interfaceName - the name of the interface
      nameSpaceMap - the namespaceMap (prefix -> namespaceURI) of the service
      addressingFlag - addressing usage flag (see AddressingConstants)
      serviceName - the name of the service
      Returns:
      the generated binding element
    • getEffectivePolicy

      public org.apache.neethi.Policy getEffectivePolicy()
    • getAxisEndpoint

      public AxisEndpoint getAxisEndpoint()
    • getChildren

      public Iterator<AxisBindingOperation> getChildren()
      Overrides:
      getChildren in class AxisDescription
    • applyPolicy

      public void applyPolicy() throws AxisFault
      Description copied from class: AxisDescription
      Applies the policies on the Description Hierarchy recursively.
      Overrides:
      applyPolicy in class AxisDescription
      Throws:
      AxisFault - an error occurred applying the policy