public class WSDL11ToAxisServiceBuilder extends WSDLToAxisServiceBuilder
Modifier and Type | Class and Description |
---|---|
static class |
WSDL11ToAxisServiceBuilder.WSDLProcessingException
Inner class declaration for the processing exceptions
|
Modifier and Type | Field and Description |
---|---|
static String |
BINDING_TYPE_HTTP |
static String |
BINDING_TYPE_SOAP |
static int |
COMPONENT_BINDING |
static int |
COMPONENT_MESSAGE |
static int |
COMPONENT_PORT_TYPE |
static String |
DOCUMENT_STYLE |
static String |
ENCODED_USE |
protected static org.apache.commons.logging.Log |
log |
static String |
NAMESPACE_DECLARATION_PREFIX |
static String |
NAMESPACE_URI |
protected String |
portName |
static String |
RPC_STYLE |
static String |
TRAGET_NAMESPACE |
static String |
WRAPPED_OUTPUTNAME_SUFFIX |
protected javax.wsdl.Definition |
wsdl4jDefinition |
protected String |
wsdlBaseDocumentURI |
static String |
XML_NAMESPACE_URI |
AXIS2WRAPPED, axisConfig, 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 and Description |
---|
WSDL11ToAxisServiceBuilder(javax.wsdl.Definition def,
QName serviceName,
String portName) |
WSDL11ToAxisServiceBuilder(javax.wsdl.Definition def,
QName serviceName,
String portName,
boolean isAllPorts) |
WSDL11ToAxisServiceBuilder(InputStream in) |
WSDL11ToAxisServiceBuilder(InputStream in,
AxisService service) |
WSDL11ToAxisServiceBuilder(InputStream in,
QName serviceName,
String portName)
constructor taking in the service name and the port name
|
Modifier and Type | Method and Description |
---|---|
String |
getDocumentBaseUri()
Gets the URI to the base document associated with the WSDL definition.
|
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
|
static String |
getTypeName(String attributeValue) |
boolean |
isAllPorts() |
AxisService |
populateService()
Populates a given service.
|
void |
setAllPorts(boolean allPorts) |
void |
setCustomWSDLResolver(javax.wsdl.xml.WSDLLocator customResolver)
sets a custom WSDL locator
|
void |
setDocumentBaseUri(String baseUri)
Sets the URI to the base document associated with the WSDL definition.
|
protected void |
setup()
contains all code which gathers non-service specific information from the
wsdl.
|
createHttpLocationTable, findSchemaPrefix, getBaseUri, getDOMDocumentBuilder, getServiceName, getTemporaryNamespacePrefix, getXMLSchema, isCodegen, isServerSide, replace, setBaseUri, setCodegen, setCustomResolver, setPolicyRegistryFromService, setServerSide, setServiceName, stackToString, stackToString, useAxisConfiguration
public static final int COMPONENT_PORT_TYPE
public static final int COMPONENT_MESSAGE
public static final int COMPONENT_BINDING
protected static final org.apache.commons.logging.Log log
protected String portName
protected javax.wsdl.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
public WSDL11ToAxisServiceBuilder(InputStream in, QName serviceName, String portName)
in
- - InputStream for the WSDLserviceName
- - The service NameportName
- - The port namepublic WSDL11ToAxisServiceBuilder(javax.wsdl.Definition def, QName serviceName, String portName)
def
- - The WSDL4J Definition objectserviceName
- - The service NameportName
- - The port namepublic WSDL11ToAxisServiceBuilder(javax.wsdl.Definition def, QName serviceName, String portName, boolean isAllPorts)
def
- - The WSDL4J Definition objectserviceName
- - The service NameportName
- - The port nameisAllPorts
- - boolean representing whether to generate code for all ports or notpublic WSDL11ToAxisServiceBuilder(InputStream in, AxisService service)
in
- service
- public WSDL11ToAxisServiceBuilder(InputStream in)
in
- public void setCustomWSDLResolver(javax.wsdl.xml.WSDLLocator customResolver)
customResolver
- public void setDocumentBaseUri(String baseUri)
baseUri
- public String getDocumentBaseUri()
public AxisService populateService() throws AxisFault
populateService
in class WSDLToAxisServiceBuilder
AxisFault
protected void setup() throws javax.wsdl.WSDLException
javax.wsdl.WSDLException
- if readInTheWSDLFile failspublic boolean isAllPorts()
public void setAllPorts(boolean allPorts)
public static String getPrefix(String attributeValue)
attributeValue
- : StringCopyright © 2004–2018 The Apache Software Foundation. All rights reserved.