com.ebmwebsourcing.addressing.addressing4agreement.monitoring.api
Interface WSAddressing4AgreementReader

All Known Implementing Classes:
WSAddressing4AgreementReaderImpl

public interface WSAddressing4AgreementReader

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 tag.

Author:
Nicolas Salatge - eBM WebSourcing

Method Summary
 java.lang.Object getFeature(com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingReader.FeatureConstants name)
          Gets the value of the specified feature.
 java.util.Map<com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingReader.FeatureConstants,java.lang.Object> getFeatures()
          Gets all features.
 EndpointReferenceType readEndpointReferenceType(org.w3c.dom.Document eprDocument)
          Read the specified WSDL document into a WSDL definition.
 EndpointReferenceType readEndpointReferenceType(java.net.URI eprURI)
          Read the WSDL document accessible via the specified URI into a WSDL definition.
 EndpointReferenceType readEndpointReferenceType(java.net.URI wsdlURI, org.xml.sax.InputSource inputSource)
          Read a WSDL document into a WSDL definition.
 void setFeature(com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingReader.FeatureConstants name, java.lang.Object value)
          Sets the specified feature to the specified value.
 

Method Detail

setFeature

void setFeature(com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingReader.FeatureConstants name,
                java.lang.Object value)
                throws com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException
Sets the specified feature to the specified value.

The minimum features that must be supported are:

Name DescriptionImpl Default Value
org.ow2.easywsdl.schema.test.verbose
If set to true, status messages will be displayed.
type: boolean - default value: false
org.ow2.easywsdl.schema.test.importDocuments
If set to true, imported WSDL documents will be retrieved and processed.
type: boolean - default value: true
org.ow2.easywsdl.schema.test.pathDirectoryOfImportLocations
If the location is set, imported WSDL documents will be retrieved at this location (Set the importDocuments Features at true).
type: String

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

Parameters:
name - the name of the feature to be set.
value - the value to set the feature to.
Throws:
WSDLException - TODO
com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException
See Also:
#getFeature(String)

getFeature

java.lang.Object getFeature(com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingReader.FeatureConstants name)
Gets the value of the specified feature.

Parameters:
name - the name of the feature to get the value of.
Returns:
the value of feature
Throws:
java.lang.IllegalArgumentException - if the feature name is not recognized.
See Also:
#setFeature(String, boolean)

getFeatures

java.util.Map<com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingReader.FeatureConstants,java.lang.Object> getFeatures()
Gets all features.

Returns:
the features
See Also:
#setFeature(String, boolean)

readEndpointReferenceType

EndpointReferenceType readEndpointReferenceType(java.net.URI eprURI)
                                                throws com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException
Read the WSDL document accessible via the specified URI into a WSDL definition.

Parameters:
wsdlURI - a URI (can be a filename or URL) pointing to a WSDL XML definition.
Returns:
the definition.
Throws:
com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException

readEndpointReferenceType

EndpointReferenceType readEndpointReferenceType(org.w3c.dom.Document eprDocument)
                                                throws com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException
Read the specified WSDL document into a WSDL definition.

Parameters:
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.
Returns:
the definition described in the document.
Throws:
com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException

readEndpointReferenceType

EndpointReferenceType readEndpointReferenceType(java.net.URI wsdlURI,
                                                org.xml.sax.InputSource inputSource)
                                                throws com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException
Read a WSDL document into a WSDL definition.

Parameters:
wslURI - uri of the wsdl
inputSource - an InputSource pointing to the WSDL document, an XML document obeying the WSDL schema.
Returns:
the definition described in the document pointed to by the InputSource.
Throws:
com.ebmwebsourcing.wsstar.addressing.definition.api.WSAddressingException


Copyright © 2009-2010 eBM Websourcing. All Rights Reserved.