|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis2.description.WSDLToAxisServiceBuilder org.apache.axis2.description.WSDL11ToAxisServiceBuilder
public class WSDL11ToAxisServiceBuilder
Nested Class Summary | |
---|---|
static class |
WSDL11ToAxisServiceBuilder.WSDLProcessingException
Inner class declaration for the processing exceptions |
Field Summary | |
---|---|
static java.lang.String |
BINDING_TYPE_HTTP
|
static java.lang.String |
BINDING_TYPE_SOAP
|
static int |
COMPONENT_BINDING
|
static int |
COMPONENT_MESSAGE
|
static int |
COMPONENT_PORT_TYPE
|
static java.lang.String |
DOCUMENT_STYLE
|
static java.lang.String |
ENCODED_USE
|
protected static org.apache.commons.logging.Log |
log
|
static java.lang.String |
NAMESPACE_DECLARATION_PREFIX
|
static java.lang.String |
NAMESPACE_URI
|
protected java.lang.String |
portName
|
static java.lang.String |
RPC_STYLE
|
static java.lang.String |
TRAGET_NAMESPACE
|
static java.lang.String |
WRAPPED_OUTPUTNAME_SUFFIX
|
protected javax.wsdl.Definition |
wsdl4jDefinition
|
protected java.lang.String |
wsdlBaseDocumentURI
|
static java.lang.String |
XML_NAMESPACE_URI
|
Constructor Summary | |
---|---|
WSDL11ToAxisServiceBuilder(javax.wsdl.Definition def,
QName serviceName,
java.lang.String portName)
|
|
WSDL11ToAxisServiceBuilder(javax.wsdl.Definition def,
QName serviceName,
java.lang.String portName,
boolean isAllPorts)
|
|
WSDL11ToAxisServiceBuilder(java.io.InputStream in)
|
|
WSDL11ToAxisServiceBuilder(java.io.InputStream in,
AxisService service)
|
|
WSDL11ToAxisServiceBuilder(java.io.InputStream in,
QName serviceName,
java.lang.String portName)
constructor taking in the service name and the port name |
Method Summary | |
---|---|
java.lang.String |
getDocumentBaseUri()
Gets the URI to the base document associated with the WSDL definition. |
static java.lang.String |
getPrefix(java.lang.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 java.lang.String |
getTypeName(java.lang.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 |
setCustomWSLD4JResolver(javax.wsdl.xml.WSDLLocator customResolver)
Deprecated. |
void |
setDocumentBaseUri(java.lang.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. |
Methods inherited from class org.apache.axis2.description.WSDLToAxisServiceBuilder |
---|
findSchemaPrefix, getBaseUri, getDOMDocumentBuilder, getServiceName, getTemporaryNamespacePrefix, getXMLSchema, isCodegen, isServerSide, replace, setBaseUri, setCodegen, setCustomResolver, setPolicyRegistryFromService, setServerSide, setServiceName, stackToString, stackToString, useAxisConfiguration |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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 java.lang.String portName
protected javax.wsdl.Definition wsdl4jDefinition
protected java.lang.String wsdlBaseDocumentURI
public static final java.lang.String RPC_STYLE
public static final java.lang.String DOCUMENT_STYLE
public static final java.lang.String ENCODED_USE
public static final java.lang.String WRAPPED_OUTPUTNAME_SUFFIX
public static final java.lang.String XML_NAMESPACE_URI
public static final java.lang.String NAMESPACE_DECLARATION_PREFIX
public static final java.lang.String NAMESPACE_URI
public static final java.lang.String TRAGET_NAMESPACE
public static final java.lang.String BINDING_TYPE_SOAP
public static final java.lang.String BINDING_TYPE_HTTP
Constructor Detail |
---|
public WSDL11ToAxisServiceBuilder(java.io.InputStream in, QName serviceName, java.lang.String portName)
in
- - InputStream for the WSDLserviceName
- - The service NameportName
- - The port namepublic WSDL11ToAxisServiceBuilder(javax.wsdl.Definition def, QName serviceName, java.lang.String portName)
def
- - The WSDL4J Definition objectserviceName
- - The service NameportName
- - The port namepublic WSDL11ToAxisServiceBuilder(javax.wsdl.Definition def, QName serviceName, java.lang.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(java.io.InputStream in, AxisService service)
in
- service
- public WSDL11ToAxisServiceBuilder(java.io.InputStream in)
in
- Method Detail |
---|
public void setCustomWSLD4JResolver(javax.wsdl.xml.WSDLLocator customResolver)
setCustomWSDLResolver
public void setCustomWSDLResolver(javax.wsdl.xml.WSDLLocator customResolver)
customResolver
- public void setDocumentBaseUri(java.lang.String baseUri)
baseUri
- public java.lang.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 java.lang.String getPrefix(java.lang.String attributeValue)
attributeValue
- : String
public static java.lang.String getTypeName(java.lang.String attributeValue)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |