Package org.apache.axis2.description
Class WSDLToAxisServiceBuilder
java.lang.Object
org.apache.axis2.description.WSDLToAxisServiceBuilder
- Direct Known Subclasses:
WSDL11ToAxisServiceBuilder,WSDL20ToAxisServiceBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected AxisConfigurationprotected AxisServiceprotected InputStreamprotected booleanprotected booleanprotected static intprotected org.apache.neethi.PolicyRegistryprotected Mapprotected QNameprotected Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final String -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedWSDLToAxisServiceBuilder(InputStream in, QName serviceName) WSDLToAxisServiceBuilder(InputStream in, AxisService axisService) -
Method Summary
Modifier and TypeMethodDescriptionprotected Map<String,AxisOperation> protected StringFind the XML schema prefixGets the URI associated with the base document for the WSDL definition.protected DocumentBuilderUtility method that returns a DOM Builderprotected StringGet a temporary namespace prefix.protected org.apache.ws.commons.schema.XmlSchemagetXMLSchema(Element element, String baseUri) booleanbooleanabstract AxisServiceprotected static final Stringreplace: Like String.replace except that the old new items are strings.voidsetBaseUri(String baseUri) Sets the URI associated with the base document for the WSDL definition.voidsetCodegen(boolean codegen) voidsetCustomResolver(org.apache.ws.commons.schema.resolver.URIResolver customResolver) Sets a custom xmlschema URI resolverprotected voidsetPolicyRegistryFromService(AxisService axisService) voidsetServerSide(boolean serverSide) voidsetServiceName(QName serviceName) protected static StringGet a string containing the stack of the current locationprotected static StringGet a string containing the stack of the specified exceptionvoiduseAxisConfiguration(AxisConfiguration axisConfig)
-
Field Details
-
XMLSCHEMA_NAMESPACE_URI
- See Also:
-
XMLSCHEMA_NAMESPACE_PREFIX
- See Also:
-
XML_SCHEMA_LOCAL_NAME
- See Also:
-
XML_SCHEMA_SEQUENCE_LOCAL_NAME
- See Also:
-
XML_SCHEMA_COMPLEX_TYPE_LOCAL_NAME
- See Also:
-
XML_SCHEMA_ELEMENT_LOCAL_NAME
- See Also:
-
XML_SCHEMA_IMPORT_LOCAL_NAME
- See Also:
-
XSD_NAME
- See Also:
-
XSD_TARGETNAMESPACE
- See Also:
-
XMLNS_AXIS2WRAPPED
- See Also:
-
AXIS2WRAPPED
- See Also:
-
XSD_TYPE
- See Also:
-
XSD_REF
- See Also:
-
nsCount
protected static int nsCount -
resolvedRpcWrappedElementMap
-
XSD_ELEMENT_FORM_DEFAULT
- See Also:
-
XSD_UNQUALIFIED
- See Also:
-
in
-
axisService
-
registry
protected org.apache.neethi.PolicyRegistry registry -
axisConfig
-
serviceName
-
isServerSide
protected boolean isServerSide -
style
-
TYPES
- See Also:
-
isCodegen
protected boolean isCodegen
-
-
Constructor Details
-
WSDLToAxisServiceBuilder
protected WSDLToAxisServiceBuilder() -
WSDLToAxisServiceBuilder
-
WSDLToAxisServiceBuilder
-
-
Method Details
-
setCustomResolver
public void setCustomResolver(org.apache.ws.commons.schema.resolver.URIResolver customResolver) Sets a custom xmlschema URI resolver- Parameters:
customResolver- a URIResolver to use when working with schemas
-
isServerSide
public boolean isServerSide() -
setServerSide
public void setServerSide(boolean serverSide) -
setPolicyRegistryFromService
-
getXMLSchema
-
findSchemaPrefix
Find the XML schema prefix- Returns:
- the active schema prefix, or the default schema prefix if not declared
-
populateService
- Throws:
AxisFault
-
getDOMDocumentBuilder
Utility method that returns a DOM Builder- Returns:
- a namespace-aware DOM DocumentBuilder
-
getTemporaryNamespacePrefix
Get a temporary namespace prefix. NOT threadsafe.- Returns:
- a new namespace prefix of the form "nsX"
-
getBaseUri
Gets the URI associated with the base document for the WSDL definition. Note that this URI is for the base document, not the imports.- Returns:
- The URI as a String
-
setBaseUri
Sets the URI associated with the base document for the WSDL definition. Note that this URI is for the base document, not the imports.- Parameters:
baseUri- The URI as a String
-
isCodegen
public boolean isCodegen() -
setCodegen
public void setCodegen(boolean codegen) -
getServiceName
-
setServiceName
-
stackToString
Get a string containing the stack of the current location- Returns:
- String
-
stackToString
Get a string containing the stack of the specified exception- Parameters:
e-- Returns:
-
replace
replace: Like String.replace except that the old new items are strings.- Parameters:
name- stringoldT- old text to replacenewT- new text to use- Returns:
- replacement string
-
useAxisConfiguration
-
createHttpLocationTable
-