Class WSDLToAxisServiceBuilder

java.lang.Object
org.apache.axis2.description.WSDLToAxisServiceBuilder
Direct Known Subclasses:
WSDL11ToAxisServiceBuilder, WSDL20ToAxisServiceBuilder

public abstract class WSDLToAxisServiceBuilder extends Object
  • Field Details

  • Constructor Details

    • WSDLToAxisServiceBuilder

      protected WSDLToAxisServiceBuilder()
    • WSDLToAxisServiceBuilder

      public WSDLToAxisServiceBuilder(InputStream in, QName serviceName)
    • WSDLToAxisServiceBuilder

      public WSDLToAxisServiceBuilder(InputStream in, AxisService axisService)
  • Method Details

    • setCustomResolver

      public void setCustomResolver(org.apache.ws.commons.schema.resolver.URIResolver customResolver)
      Sets a custom xmlschema URI resolver
      Parameters:
      customResolver - a URIResolver to use when working with schemas
    • isServerSide

      public boolean isServerSide()
    • setServerSide

      public void setServerSide(boolean serverSide)
    • setPolicyRegistryFromService

      protected void setPolicyRegistryFromService(AxisService axisService)
    • getXMLSchema

      protected org.apache.ws.commons.schema.XmlSchema getXMLSchema(Element element, String baseUri)
    • findSchemaPrefix

      protected String findSchemaPrefix()
      Find the XML schema prefix
      Returns:
      the active schema prefix, or the default schema prefix if not declared
    • populateService

      public abstract AxisService populateService() throws AxisFault
      Throws:
      AxisFault
    • getDOMDocumentBuilder

      protected DocumentBuilder getDOMDocumentBuilder()
      Utility method that returns a DOM Builder
      Returns:
      a namespace-aware DOM DocumentBuilder
    • getTemporaryNamespacePrefix

      protected String getTemporaryNamespacePrefix()
      Get a temporary namespace prefix. NOT threadsafe.
      Returns:
      a new namespace prefix of the form "nsX"
    • getBaseUri

      public String getBaseUri()
      Gets the URI associated with the base document for the WSDL definition. Note that this URI is for the base document, not the imports.
      Returns:
      The URI as a String
    • setBaseUri

      public void setBaseUri(String baseUri)
      Sets the URI associated with the base document for the WSDL definition. Note that this URI is for the base document, not the imports.
      Parameters:
      baseUri - The URI as a String
    • isCodegen

      public boolean isCodegen()
    • setCodegen

      public void setCodegen(boolean codegen)
    • getServiceName

      public QName getServiceName()
    • setServiceName

      public void setServiceName(QName serviceName)
    • stackToString

      protected static String stackToString()
      Get a string containing the stack of the current location
      Returns:
      String
    • stackToString

      protected static String stackToString(Throwable e)
      Get a string containing the stack of the specified exception
      Parameters:
      e -
      Returns:
    • replace

      protected static final String replace(String name, String oldT, String newT)
      replace: Like String.replace except that the old new items are strings.
      Parameters:
      name - string
      oldT - old text to replace
      newT - new text to use
      Returns:
      replacement string
    • useAxisConfiguration

      public void useAxisConfiguration(AxisConfiguration axisConfig)
    • createHttpLocationTable

      protected Map<String,AxisOperation> createHttpLocationTable()