|
||||||||||
| 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.
| Nested Class Summary | |
|---|---|
static class |
WSDLReader.FeatureConstants
Constants for the Message Exchange Patterns. |
| Method Summary | |
|---|---|
java.lang.Object |
getFeature(WSDLReader.FeatureConstants name)
Gets the value of the specified feature. |
java.util.Map<WSDLReader.FeatureConstants,java.lang.Object> |
getFeatures()
Gets all features. |
Description |
readWSDL(org.w3c.dom.Document wsdlDocument)
Read the specified WSDL document into a WSDL definition. |
Description |
readWSDL(java.net.URI wsdlURI)
Read the WSDL document accessible via the specified URI into a WSDL definition. |
Description |
readWSDL(java.net.URI wsdlURI,
javax.xml.transform.dom.DOMSource inputSource)
Read a WSDL document into a WSDL definition. |
void |
setFeature(WSDLReader.FeatureConstants name,
java.lang.Object value)
Sets the specified feature to the specified value. |
| Method Detail |
|---|
void setFeature(WSDLReader.FeatureConstants name,
java.lang.Object value)
throws java.lang.IllegalArgumentException
The minimum features that must be supported are:
| Name | DescriptionImpl | Default Value |
|---|---|---|
| If set to true, status messages will be displayed. | ||
| If set to true, imported WSDL documents will be retrieved and processed. | ||
|
|
If the location is set, imported WSDL documents will be retrieved at this location (Set the importDocuments Features at true). |
All feature names must be fully-qualified, Java package style. All names starting with om.ebmwebsourcing. are reserved for features defined by the 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)java.lang.Object getFeature(WSDLReader.FeatureConstants name)
name - the name of the feature to get the value of.
java.lang.IllegalArgumentException - if the feature name is not recognized.#setFeature(String, boolean)java.util.Map<WSDLReader.FeatureConstants,java.lang.Object> getFeatures()
#setFeature(String, boolean)
Description readWSDL(java.net.URI wsdlURI)
throws WSDLException
wsdlURI - a URI (can be a filename or URL) pointing to a WSDL XML
definition.
WSDLException
Description readWSDL(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
Description readWSDL(java.net.URI wsdlURI,
javax.xml.transform.dom.DOMSource inputSource)
throws WSDLException
wslURI - uri of the wsdlinputSource - an InputSource pointing to the WSDL document, an XML document
obeying the WSDL schema.
WSDLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||