public class OMWSDLReader extends BaseWSDLReader
features, fWsdlContextFEATURE_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, setURIResolverpublic Description readWSDL(String wsdlURI) throws WSDLException
WSDLReaderwsdlURI - 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 BaseWSDLReaderWSDLExceptionprotected Schema parseSchemaInline(XMLElement schemaElement, DescriptionElement desc) throws WSDLException
parseSchemaInline in class BaseWSDLReaderWSDLExceptionprotected void parseExtensionAttributes(XMLElement domEl, Class wsdlClass, WSDLElement wsdlObj, DescriptionElement desc) throws WSDLException
parseExtensionAttributes in class BaseWSDLReaderWSDLExceptionpublic Description readWSDL(WSDLSource wsdlSource) throws WSDLException
WSDLReaderThe 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 BaseWSDLReaderWSDLExceptionpublic 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)
BaseWSDLReadercreateXMLElement in class BaseWSDLReaderprotected void parseNamespaceDeclarations(XMLElement xmlElem, WSDLElement wsdlElem) throws WSDLException
parseNamespaceDeclarations in class BaseWSDLReaderWSDLExceptionCopyright © 2005-2012 Apache Software Foundation. All Rights Reserved.