|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WSDLReader
This interface describes a collection of methods that enable conversion of a WSDL document (in XML, following the WSDL schema described in the WSDL specification) into a WSDL model.
Method Summary | |
---|---|
ExtensionRegistry |
getExtensionRegistry()
Get the extension registry, if one was set. |
java.lang.String |
getFactoryImplName()
Get the factoryImplName, if one was set. |
boolean |
getFeature(java.lang.String name)
Gets the value of the specified feature. |
Definition |
readWSDL(java.lang.String wsdlURI)
Read the WSDL document accessible via the specified URI into a WSDL definition. |
Definition |
readWSDL(java.lang.String documentBaseURI,
org.w3c.dom.Document wsdlDocument)
Read the specified WSDL document into a WSDL definition. |
Definition |
readWSDL(java.lang.String documentBaseURI,
org.w3c.dom.Element definitionsElement)
Read the specified <wsdl:definitions> element into a WSDL definition. |
Definition |
readWSDL(java.lang.String documentBaseURI,
org.xml.sax.InputSource inputSource)
Read a WSDL document into a WSDL definition. |
Definition |
readWSDL(java.lang.String contextURI,
java.lang.String wsdlURI)
Read the WSDL document accessible via the specified URI into a WSDL definition. |
Definition |
readWSDL(WSDLLocator locator)
Read a WSDL document into a WSDL definition. |
Definition |
readWSDL(WSDLLocator locator,
org.w3c.dom.Element definitionsElement)
Read the specified <wsdl:definitions> element into a WSDL definition. |
void |
setExtensionRegistry(ExtensionRegistry extReg)
Set the extension registry to be used when reading WSDL documents into a WSDL definition. |
void |
setFactoryImplName(java.lang.String factoryImplName)
Set a different factory implementation to use for creating definitions when reading WSDL documents. |
void |
setFeature(java.lang.String name,
boolean value)
Sets the specified feature to the specified value. |
Method Detail |
---|
void setFeature(java.lang.String name, boolean value) throws java.lang.IllegalArgumentException
The minimum features that must be supported are:
Name | Description | Default Value |
---|---|---|
If set to true, status messages will be displayed. | ||
If set to true, imported WSDL documents will be retrieved and processed. |
All feature names must be fully-qualified, Java package style. All names starting with javax.wsdl. are reserved for features defined by the JWSDL specification. It is recommended that implementation- specific features be fully-qualified to match the package name of that implementation. For example: com.abc.featureName
name
- the name of the feature to be set.value
- the value to set the feature to.
java.lang.IllegalArgumentException
- if the feature name is not recognized.getFeature(String)
boolean getFeature(java.lang.String name) throws java.lang.IllegalArgumentException
name
- the name of the feature to get the value of.
java.lang.IllegalArgumentException
- if the feature name is not recognized.setFeature(String, boolean)
void setExtensionRegistry(ExtensionRegistry extReg)
extReg
- the extension registry to use for new
definitionsExtensionRegistry getExtensionRegistry()
void setFactoryImplName(java.lang.String factoryImplName) throws java.lang.UnsupportedOperationException
factoryImplName
- the fully-qualified class name of the
class which provides a concrete implementation of the abstract
class WSDLFactory.
java.lang.UnsupportedOperationException
- if this method
is invoked on an implementation which does not
support it.java.lang.String getFactoryImplName()
Definition readWSDL(java.lang.String wsdlURI) throws WSDLException
wsdlURI
- a URI (can be a filename or URL) pointing to a
WSDL XML definition.
WSDLException
Definition readWSDL(java.lang.String contextURI, java.lang.String wsdlURI) throws WSDLException
contextURI
- the context in which to resolve the
wsdlURI, if the wsdlURI is relative. Can be null, in which
case it will be ignored.wsdlURI
- a URI (can be a filename or URL) pointing to a
WSDL XML definition.
WSDLException
Definition readWSDL(java.lang.String documentBaseURI, org.w3c.dom.Element definitionsElement) throws WSDLException
documentBaseURI
- the document base URI of the WSDL definition
described by the element. Will be set as the documentBaseURI
of the returned Definition. Can be null, in which case it
will be ignored.definitionsElement
- the <wsdl:definitions> element
WSDLException
Definition readWSDL(WSDLLocator locator, org.w3c.dom.Element definitionsElement) throws WSDLException
locator
- A WSDLLocator object used to provide
the document base URI of the WSDL definition described by the
element.definitionsElement
- the <wsdl:definitions> element
WSDLException
Definition readWSDL(java.lang.String documentBaseURI, org.w3c.dom.Document wsdlDocument) throws WSDLException
documentBaseURI
- the document base URI of the WSDL definition
described by the document. Will be set as the documentBaseURI
of the returned Definition. Can be null, in which case it
will be ignored.wsdlDocument
- the WSDL document, an XML
document obeying the WSDL schema.
WSDLException
Definition readWSDL(java.lang.String documentBaseURI, org.xml.sax.InputSource inputSource) throws WSDLException
documentBaseURI
- the document base URI of the WSDL definition
described by the document. Will be set as the documentBaseURI
of the returned Definition. Can be null, in which case it
will be ignored.inputSource
- an InputSource pointing to the
WSDL document, an XML document obeying the WSDL schema.
WSDLException
Definition readWSDL(WSDLLocator locator) throws WSDLException
locator
- A WSDLLocator object used to provide InputSources
pointing to the wsdl file.
WSDLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |