Save This Page
Home » axis2-1.5-src » org.apache » axis2 » description » [javadoc | source]
org.apache.axis2.description
public class: WSDL11ToAxisServiceBuilder [javadoc | source]
java.lang.Object
   org.apache.axis2.description.WSDLToAxisServiceBuilder
      org.apache.axis2.description.WSDL11ToAxisServiceBuilder

Direct Known Subclasses:
    WSDL11ToAllAxisServicesBuilder

Nested Class Summary:
public static class  WSDL11ToAxisServiceBuilder.WSDLProcessingException  Inner class declaration for the processing exceptions 
class  WSDL11ToAxisServiceBuilder.BindingOperationEntry  BindingOperation plus state information 
Field Summary
public static final  int COMPONENT_PORT_TYPE     
public static final  int COMPONENT_MESSAGE     
public static final  int COMPONENT_BINDING     
protected static final  Log log     
protected  String portName     
protected  Definition wsdl4jDefinition     
protected  String wsdlBaseDocumentURI     
public static final  String RPC_STYLE     
public static final  String DOCUMENT_STYLE     
public static final  String ENCODED_USE     
public static final  String WRAPPED_OUTPUTNAME_SUFFIX     
public static final  String XML_NAMESPACE_URI     
public static final  String NAMESPACE_DECLARATION_PREFIX     
public static final  String NAMESPACE_URI     
public static final  String TRAGET_NAMESPACE     
public static final  String BINDING_TYPE_SOAP     
public static final  String BINDING_TYPE_HTTP     
Fields inherited from org.apache.axis2.description.WSDLToAxisServiceBuilder:
XMLSCHEMA_NAMESPACE_URI,  XMLSCHEMA_NAMESPACE_PREFIX,  XML_SCHEMA_LOCAL_NAME,  XML_SCHEMA_SEQUENCE_LOCAL_NAME,  XML_SCHEMA_COMPLEX_TYPE_LOCAL_NAME,  XML_SCHEMA_ELEMENT_LOCAL_NAME,  XML_SCHEMA_IMPORT_LOCAL_NAME,  XSD_NAME,  XSD_TARGETNAMESPACE,  XMLNS_AXIS2WRAPPED,  AXIS2WRAPPED,  XSD_TYPE,  XSD_REF,  nsCount,  resolvedRpcWrappedElementMap,  XSD_ELEMENT_FORM_DEFAULT,  XSD_UNQUALIFIED,  in,  axisService,  registry,  axisConfig,  serviceName,  isServerSide,  style,  TYPES,  isCodegen
Constructor:
 public WSDL11ToAxisServiceBuilder(InputStream in) 
    Parameters:
    in -
 public WSDL11ToAxisServiceBuilder(InputStream in,
    AxisService service) 
    Parameters:
    in -
    service -
 public WSDL11ToAxisServiceBuilder(InputStream in,
    QName serviceName,
    String portName) 
    constructor taking in the service name and the port name
    Parameters:
    in - - InputStream for the WSDL
    serviceName - - The service Name
    portName - - The port name
 public WSDL11ToAxisServiceBuilder(Definition def,
    QName serviceName,
    String portName) 
    Parameters:
    def - - The WSDL4J Definition object
    serviceName - - The service Name
    portName - - The port name
 public WSDL11ToAxisServiceBuilder(Definition def,
    QName serviceName,
    String portName,
    boolean isAllPorts) 
    Parameters:
    def - - The WSDL4J Definition object
    serviceName - - The service Name
    portName - - The port name
    isAllPorts - - boolean representing whether to generate code for all ports or not
Method from org.apache.axis2.description.WSDL11ToAxisServiceBuilder Summary:
getDocumentBaseUri,   getPrefix,   getTypeName,   isAllPorts,   populateService,   setAllPorts,   setCustomWSDLResolver,   setCustomWSLD4JResolver,   setDocumentBaseUri,   setup
Methods from org.apache.axis2.description.WSDLToAxisServiceBuilder:
findSchemaPrefix,   getBaseUri,   getDOMDocumentBuilder,   getServiceName,   getTemporaryNamespacePrefix,   getXMLSchema,   isCodegen,   isServerSide,   populateService,   replace,   setBaseUri,   setCodegen,   setCustomResolver,   setPolicyRegistryFromService,   setServerSide,   setServiceName,   stackToString,   stackToString,   useAxisConfiguration
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.axis2.description.WSDL11ToAxisServiceBuilder Detail:
 public String getDocumentBaseUri() 
    Gets the URI to the base document associated with the WSDL definition. This identifies the origin of the Definition and allows the Definition to be reloaded. Note that this is the URI of the base document, not the imports.
 public static String getPrefix(String attributeValue) 
    This method is to split attribute like abc:cde and get the prefix part of it so the method will retuen abc if the ":" is present in the the string else it will return null
 public static String getTypeName(String attributeValue) 
 public boolean isAllPorts() 
 public AxisService populateService() throws AxisFault 
    Populates a given service.
 public  void setAllPorts(boolean allPorts) 
 public  void setCustomWSDLResolver(WSDLLocator customResolver) 
    sets a custom WSDL locator
 public  void setCustomWSLD4JResolver(WSDLLocator customResolver) 
Deprecated!
 public  void setDocumentBaseUri(String baseUri) 
    Sets the URI to the base document associated with the WSDL definition. This identifies the origin of the Definition and allows the Definition to be reloaded. Note that this is the URI of the base document, not the imports.
 protected  void setup() throws WSDLException 
    contains all code which gathers non-service specific information from the wsdl.

    After all the setup completes successfully, the setupComplete field is set so that any subsequent calls to setup() will result in a no-op. Note that subclass WSDL11ToAllAxisServicesBuilder will call populateService for each port in the WSDL. Separating the non-service specific information here allows WSDL11ToAllAxisServicesBuilder to only do this work 1 time per WSDL, instead of for each port on each service.