public class OMWSDLReader extends BaseWSDLReader
features, fWsdlContext
FEATURE_CONTINUE_ON_ERROR, FEATURE_VALIDATION, FEATURE_VERBOSE, PROPERTY_TYPE_SYSTEM_API, PROPERTY_XML_PARSER_API, TYPE_XSD_2001
Modifier and Type | Method and Description |
---|---|
WSDLSource |
createWSDLSource()
Returns a WSDLSource object that is compatible with the WSDLReader implementation.
|
protected XMLElement |
createXMLElement(Object elem)
Returns an XMLElement object representing the specified element
object.
|
protected DescriptionElement |
getWSDLFromLocation(String locationURI,
DescriptionElement desc,
Map wsdlModules) |
protected void |
parseExtensionAttributes(XMLElement domEl,
Class wsdlClass,
WSDLElement wsdlObj,
DescriptionElement desc) |
protected void |
parseNamespaceDeclarations(XMLElement xmlElem,
WSDLElement wsdlElem) |
protected Schema |
parseSchemaImport(XMLElement importEl,
DescriptionElement desc) |
protected Schema |
parseSchemaInline(XMLElement schemaElement,
DescriptionElement desc) |
Description |
readWSDL(String wsdlURI)
Read the WSDL document at the specified URI and return a WSDL Description
component containing the WSDL components derived from that document.
|
Description |
readWSDL(WSDLSource wsdlSource)
Read the WSDL obtained from the specified WSDLSource object and return a WSDL Description
component containing the WSDL components derived from that WSDL source.
|
getErrorReporter, getExtensionRegistry, getFactory, getFactoryImplName, getFeature, getProperty, getURI, getURIResolver, parseDescription, parseDocumentation, parseExtensionElement, parseSchemaForXMLSchema, resolveURI, resolveURI, setExtensionRegistry, setFactoryImplName, setFeature, setProperty, setURIResolver
public Description readWSDL(String wsdlURI) throws WSDLException
WSDLReader
wsdlURI
- a URI (absolute filename or URL) pointing to a
WSDL document.WSDLException
- for terminating errors and as wrapper
for checked exceptions.protected Schema parseSchemaImport(XMLElement importEl, DescriptionElement desc) throws WSDLException
parseSchemaImport
in class BaseWSDLReader
WSDLException
protected Schema parseSchemaInline(XMLElement schemaElement, DescriptionElement desc) throws WSDLException
parseSchemaInline
in class BaseWSDLReader
WSDLException
protected void parseExtensionAttributes(XMLElement domEl, Class wsdlClass, WSDLElement wsdlObj, DescriptionElement desc) throws WSDLException
parseExtensionAttributes
in class BaseWSDLReader
WSDLException
public Description readWSDL(WSDLSource wsdlSource) throws WSDLException
WSDLReader
The WSDLSource object must represent the WSDL using a type that the WSDLReader implementation can understand. That is, the WSDLSource and WSDLReader implementations must be compatible. For example, a DOM-based WSDLReader implementation will likely require the WSDLSource object to represent the WSDL as a DOM Document or Element (org.w3c.dom.Document or org.w3c.dom.Element), both of which should be type compatible the DOM-based reader.
wsdlSource
- contains an object representing the WSDLWSDLException
- for terminating errors and as a wrapper
for checked exceptionsprotected DescriptionElement getWSDLFromLocation(String locationURI, DescriptionElement desc, Map wsdlModules) throws WSDLException
getWSDLFromLocation
in class BaseWSDLReader
WSDLException
public WSDLSource createWSDLSource()
WSDLReader
This WSDLSource object can be used to encapsulate the WSDL and is then passed to the
WSDLReader as a parameter to its readWSDL
methods.
protected XMLElement createXMLElement(Object elem)
BaseWSDLReader
createXMLElement
in class BaseWSDLReader
protected void parseNamespaceDeclarations(XMLElement xmlElem, WSDLElement wsdlElem) throws WSDLException
parseNamespaceDeclarations
in class BaseWSDLReader
WSDLException
Copyright © 2005–2016 Apache Software Foundation. All rights reserved.