org.apache.axis2.description
Class WSDL20ToAxisServiceBuilder

java.lang.Object
  extended byorg.apache.axis2.description.WSDLToAxisServiceBuilder
      extended byorg.apache.axis2.description.WSDL20ToAxisServiceBuilder
Direct Known Subclasses:
WSDL20ToAllAxisServicesBuilder

public class WSDL20ToAxisServiceBuilder
extends WSDLToAxisServiceBuilder


Field Summary
protected  org.apache.woden.wsdl20.Description description
           
protected  java.lang.String interfaceName
           
 
Fields inherited from class org.apache.axis2.description.WSDLToAxisServiceBuilder
AXIS2WRAPPED, axisService, in, isCodegen, isServerSide, nsCount, registry, resolvedRpcWrappedElementMap, serviceName, style, TYPES, XML_SCHEMA_COMPLEX_TYPE_LOCAL_NAME, XML_SCHEMA_ELEMENT_LOCAL_NAME, XML_SCHEMA_IMPORT_LOCAL_NAME, XML_SCHEMA_LOCAL_NAME, XML_SCHEMA_SEQUENCE_LOCAL_NAME, XMLNS_AXIS2WRAPPED, XMLSCHEMA_NAMESPACE_PREFIX, XMLSCHEMA_NAMESPACE_URI, XSD_ELEMENT_FORM_DEFAULT, XSD_NAME, XSD_REF, XSD_TARGETNAMESPACE, XSD_TYPE, XSD_UNQUALIFIED
 
Constructor Summary
WSDL20ToAxisServiceBuilder(java.io.InputStream in, javax.xml.namespace.QName serviceName, java.lang.String interfaceName)
           
WSDL20ToAxisServiceBuilder(java.lang.String wsdlUri, AxisService service)
           
WSDL20ToAxisServiceBuilder(java.lang.String wsdlUri, javax.xml.namespace.QName serviceName)
           
WSDL20ToAxisServiceBuilder(java.lang.String wsdlUri, java.lang.String name, java.lang.String interfaceName)
           
 
Method Summary
 AxisService populateService()
           
protected  void setup()
          contains all code which gathers non-wsdlService specific information from the wsdl.
 
Methods inherited from class org.apache.axis2.description.WSDLToAxisServiceBuilder
findSchemaPrefix, getBaseUri, getDOMDocumentBuilder, getServiceName, getTemporaryNamespacePrefix, getXMLSchema, isCodegen, isServerSide, setBaseUri, setCodegen, setCustomResolver, setPolicyRegistryFromService, setServerSide, setServiceName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected org.apache.woden.wsdl20.Description description

interfaceName

protected java.lang.String interfaceName
Constructor Detail

WSDL20ToAxisServiceBuilder

public WSDL20ToAxisServiceBuilder(java.io.InputStream in,
                                  javax.xml.namespace.QName serviceName,
                                  java.lang.String interfaceName)

WSDL20ToAxisServiceBuilder

public WSDL20ToAxisServiceBuilder(java.lang.String wsdlUri,
                                  java.lang.String name,
                                  java.lang.String interfaceName)
                           throws java.lang.Exception

WSDL20ToAxisServiceBuilder

public WSDL20ToAxisServiceBuilder(java.lang.String wsdlUri,
                                  javax.xml.namespace.QName serviceName)

WSDL20ToAxisServiceBuilder

public WSDL20ToAxisServiceBuilder(java.lang.String wsdlUri,
                                  AxisService service)
Method Detail

populateService

public AxisService populateService()
                            throws AxisFault
Specified by:
populateService in class WSDLToAxisServiceBuilder
Throws:
AxisFault

setup

protected void setup()
              throws AxisFault
contains all code which gathers non-wsdlService 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 WSDL20ToAllAxisServicesBuilder will call populateService for each endpoint in the WSDL. Separating the non-wsdlService specific information here allows WSDL20ToAllAxisServicesBuilder to only do this work 1 time per WSDL, instead of for each endpoint on each wsdlService.

Throws:
AxisFault


Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.