Class AxisBindingOperation

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

public class AxisBindingOperation extends AxisDescription
An AxisBindingOperation represents a WSDL <bindingOperation>
  • Constructor Details

    • AxisBindingOperation

      public AxisBindingOperation()
  • Method Details

    • getFaults

      public ArrayList<AxisBindingMessage> getFaults()
    • getFault

      public AxisBindingMessage getFault(String name)
    • addFault

      public void addFault(AxisBindingMessage fault)
    • getName

      public QName getName()
    • setName

      public void setName(QName name)
    • getAxisOperation

      public AxisOperation getAxisOperation()
    • setAxisOperation

      public void setAxisOperation(AxisOperation axisOperation)
    • setProperty

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

      public Object getProperty(String name)
    • 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 type, Map<String,String> namespaceMap, String serviceName)
      Generates the bindingOperation element
      Parameters:
      wsdl - The WSDL namespace
      tns - The targetnamespace
      wsoap - The SOAP namespace (WSDL 2.0)
      whttp - The HTTP namespace (WSDL 2.0)
      type - Indicates whether the binding is SOAP or HTTP
      namespaceMap - the service's namespace map (prefix -> namespace)
      serviceName - the name of the service
      Returns:
      The generated binding element
    • getEffectivePolicy

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

      public AxisBinding getAxisBinding()
    • 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