org.apache.axis2.description
Class WSDL11ToAxisServiceBuilder
java.lang.Object
org.apache.axis2.description.WSDLToAxisServiceBuilder
org.apache.axis2.description.WSDL11ToAxisServiceBuilder
- Direct Known Subclasses:
- WSDL11ToAllAxisServicesBuilder
- public class WSDL11ToAxisServiceBuilder
- extends WSDLToAxisServiceBuilder
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 |
Method Summary |
AxisService |
populateService()
populates a given service This is the only publicly accessible method in
this class |
void |
setCustomWSLD4JResolver(javax.wsdl.xml.WSDLLocator customWSLD4JResolver)
sets a custem WSDL4J locator |
protected void |
setup()
contains all code which gathers non-service 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 |
log
protected static final org.apache.commons.logging.Log log
portName
protected java.lang.String portName
wsdl4jDefinition
protected javax.wsdl.Definition wsdl4jDefinition
RPC_STYLE
public static final java.lang.String RPC_STYLE
- See Also:
- Constant Field Values
DOCUMENT_STYLE
public static final java.lang.String DOCUMENT_STYLE
- See Also:
- Constant Field Values
ENCODED_USE
public static final java.lang.String ENCODED_USE
- See Also:
- Constant Field Values
WRAPPED_OUTPUTNAME_SUFFIX
public static final java.lang.String WRAPPED_OUTPUTNAME_SUFFIX
- See Also:
- Constant Field Values
XML_NAMESPACE_URI
public static final java.lang.String XML_NAMESPACE_URI
- See Also:
- Constant Field Values
NAMESPACE_DECLARATION_PREFIX
public static final java.lang.String NAMESPACE_DECLARATION_PREFIX
- See Also:
- Constant Field Values
NAMESPACE_URI
public static final java.lang.String NAMESPACE_URI
- See Also:
- Constant Field Values
TRAGET_NAMESPACE
public static final java.lang.String TRAGET_NAMESPACE
- See Also:
- Constant Field Values
BINDING_TYPE_SOAP
public static final java.lang.String BINDING_TYPE_SOAP
- See Also:
- Constant Field Values
BINDING_TYPE_HTTP
public static final java.lang.String BINDING_TYPE_HTTP
- See Also:
- Constant Field Values
WSDL11ToAxisServiceBuilder
public WSDL11ToAxisServiceBuilder(java.io.InputStream in,
javax.xml.namespace.QName serviceName,
java.lang.String portName)
- constructor taking in the service name and the port name
- Parameters:
in
- serviceName
- portName
-
WSDL11ToAxisServiceBuilder
public WSDL11ToAxisServiceBuilder(javax.wsdl.Definition def,
javax.xml.namespace.QName serviceName,
java.lang.String portName)
- Parameters:
def
- serviceName
- portName
-
WSDL11ToAxisServiceBuilder
public WSDL11ToAxisServiceBuilder(java.io.InputStream in,
AxisService service)
- Parameters:
in
- service
-
WSDL11ToAxisServiceBuilder
public WSDL11ToAxisServiceBuilder(java.io.InputStream in)
- Parameters:
in
-
setCustomWSLD4JResolver
public void setCustomWSLD4JResolver(javax.wsdl.xml.WSDLLocator customWSLD4JResolver)
- sets a custem WSDL4J locator
- Parameters:
customWSLD4JResolver
-
populateService
public AxisService populateService()
throws AxisFault
- populates a given service This is the only publicly accessible method in
this class
- Specified by:
populateService
in class WSDLToAxisServiceBuilder
- Throws:
AxisFault
setup
protected void setup()
throws javax.wsdl.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.
- Throws:
javax.wsdl.WSDLException
- if readInTheWSDLFile fails
Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.