Class AxisService2WSDL11

java.lang.Object
org.apache.axis2.description.AxisService2WSDL11
All Implemented Interfaces:
Java2WSDLConstants
Direct Known Subclasses:
WSDL11SupplierTemplate

public class AxisService2WSDL11 extends Object implements Java2WSDLConstants
  • Field Details

    • axisService

      protected AxisService axisService
    • serviceName

      protected String serviceName
  • Constructor Details

  • Method Details

    • setCheckIfEndPointActive

      public void setCheckIfEndPointActive(boolean flag)
      Sets whether to make a check if endpoint is active before adding the endpoint to the WSDL. By default an endpoint is not added if a transport for the endpoint is not found.
      Parameters:
      flag - true=check if endpoint is active before adding endpoint. false=add endpoint independent of whether endpoint is active.
    • init

      protected void init() throws AxisFault
      Throws:
      AxisFault
    • generateOM

      public org.apache.axiom.om.OMElement generateOM() throws Exception
      Build the OM structure of the WSDL document
      Returns:
      an OMElement containing a WSDL document
      Throws:
      Exception
    • generateMessages

      protected List<org.apache.axiom.om.OMElement> generateMessages(org.apache.axiom.om.OMFactory fac)
    • generatePortType

      protected org.apache.axiom.om.OMElement generatePortType(org.apache.axiom.om.OMFactory fac) throws Exception
      Builds the <portType> element in the passed WSDL definition. When this returns successfully, there will be a new child element under definitons for the portType.
      Parameters:
      fac - the active OMFactory
      defintions - the WSDL <definitions> element
      Returns:
      Throws:
      Exception - if there's a problem
    • generateService

      public org.apache.axiom.om.OMElement generateService(org.apache.axiom.om.OMFactory fac, org.apache.axiom.om.OMElement defintions, boolean disableREST, boolean disableSOAP12, boolean disableSOAP11) throws Exception
      Generate the WSDL <service> element
      Parameters:
      fac - the active OMFactory
      defintions - the WSDL <definitions> element under which to put the service
      disableREST - if false, generate REST binding, if true, don't
      disableSOAP12 - if false, generate SOAP 1.2 binding, if true, don't
      Returns:
      Throws:
      Exception - if there's a problem
    • addPoliciesToDefinitionElement

      protected void addPoliciesToDefinitionElement(Iterator iterator, org.apache.axiom.om.OMElement definitionElement) throws Exception
      Throws:
      Exception
    • getStyle

      public String getStyle()
    • setStyle

      public void setStyle(String style)
    • getUse

      public String getUse()
    • setUse

      public void setUse(String use)
    • generateSoap11Binding

      protected org.apache.axiom.om.OMElement generateSoap11Binding(org.apache.axiom.om.OMFactory fac, AxisBinding axisBinding) throws Exception
      Throws:
      Exception
    • generateDocumentation

      protected org.apache.axiom.om.OMElement generateDocumentation(org.apache.axiom.om.OMFactory fac)
    • generateTypes

      protected org.apache.axiom.om.OMElement generateTypes(org.apache.axiom.om.OMFactory fac)
    • generateDefinition

      protected org.apache.axiom.om.OMElement generateDefinition(org.apache.axiom.om.OMFactory fac)
    • isDisableREST

      protected boolean isDisableREST()
    • isDisableSOAP11

      protected boolean isDisableSOAP11()
    • isDisableSOAP12

      protected boolean isDisableSOAP12()
    • getPoliciesInDefinitions

      protected Map<String,org.apache.neethi.Policy> getPoliciesInDefinitions()
    • modifyPort

      protected org.apache.axiom.om.OMElement modifyPort(org.apache.axiom.om.OMElement port)
    • modifyBinding

      protected org.apache.axiom.om.OMElement modifyBinding(org.apache.axiom.om.OMElement binding)