|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WSDLManager
This class allows to import WSDL file descriptions into the registry and to
retrieve them. It also allows to retrieve created
ServiceSpecification entities linked to Endpoint or
TechnicalService. All method parameters must not be null unless the
contrary is specified.
| Method Summary | |
|---|---|
java.util.List<ServiceSpecificationTO> |
getServSpecsForEndpoint(java.lang.String epId)
Retrieve the list of service specifications (like WSDL files...) where the given endpoint is described |
java.util.List<ServiceSpecificationTO> |
getServSpecsForTechServ(java.lang.String techServiceId)
Retrieve the list of service specifications (like WSDL files...) where the given tech service is described |
java.io.InputStream |
getWsdlDesc(java.lang.String servSpecId)
Retrieve the WSDL description linked to the given service specification as an input stream |
java.lang.String |
getWsdlDescAsString(java.lang.String servSpecId)
Retrieve the WSDL description linked to the given service specification as a String |
java.lang.String[] |
importServiceDefFile(org.w3c.dom.Document domDocument)
Read a WSDL description and add all described entities (Services, Interfaces, Endpoints etc.) in the registry. |
java.lang.String[] |
importServiceDefFile(org.w3c.dom.Document domDocument,
java.util.Map<java.lang.String,org.w3c.dom.Document> imports,
java.lang.String wsdlFileName)
Read a WSDL description and add all described entities (Services, Interfaces, Endpoints etc.) in the registry. |
java.lang.String[] |
importServiceDefFile(org.w3c.dom.Document domDocument,
java.lang.String wsdlFileName)
Read a WSDL description and add all described entities (Services, Interfaces, Endpoints etc.) in the registry. |
java.lang.String[] |
importServiceDefFile(org.w3c.dom.Element domElement)
Read a WSDL description and add all described entities (Services, Interfaces, Endpoints etc.) in the registry |
java.lang.String[] |
importServiceDefFile(org.xml.sax.InputSource wsdlContent)
Read a WSDL description and add all described entities (Services, Interfaces, Endpoints etc.) in the registry. |
java.lang.String[] |
importServiceDefFile(org.xml.sax.InputSource wsdlContent,
java.util.Map<java.lang.String,org.xml.sax.InputSource> imports,
java.lang.String wsdlFileName)
Read a WSDL description and add all described entities (Services, Interfaces, Endpoints etc.) in the registry. |
java.lang.String[] |
importServiceDefFile(org.xml.sax.InputSource wsdlContent,
java.lang.String wsdlFileName)
Read a WSDL description and add all described entities (Services, Interfaces, Endpoints etc.) in the registry. |
java.lang.String[] |
importServiceDefFile(java.lang.String wsdlContent)
Read a WSDL description and add all described entities (Services, Interfaces, Endpoints etc.) in the registry. |
java.lang.String[] |
importServiceDefFile(java.lang.String wsdlContent,
java.util.Map<java.lang.String,java.lang.String> imports,
java.lang.String wsdlFileName)
Read a WSDL description and add all described entities (Services, Interfaces, Endpoints etc.) in the registry. |
java.lang.String[] |
importServiceDefFile(java.lang.String wsdlContent,
java.lang.String wsdlFileName)
Read a WSDL description and add all described entities (Services, Interfaces, Endpoints etc.) in the registry. |
java.lang.String[] |
importServiceDefFile(java.net.URI wsdlURI)
Read a WSDL description and add all described entities (Services, Interfaces, Endpoints etc.) in the registry. |
java.lang.String[] |
importServiceDefFile(java.net.URI wsdlURI,
java.util.Map<java.lang.String,java.net.URI> imports,
java.lang.String wsdlFileName)
Read a WSDL description and add all described entities (Services, Interfaces, Endpoints etc.) in the registry. |
java.lang.String[] |
importServiceDefFile(java.net.URI wsdlURI,
java.lang.String wsdlFileName)
Read a WSDL description and add all described entities (Services, Interfaces, Endpoints etc.) in the registry. |
| Method Detail |
|---|
@Transactional(readOnly=true)
java.util.List<ServiceSpecificationTO> getServSpecsForEndpoint(java.lang.String epId)
throws WSDLServiceException
epId - an endpoint ID
List of ServiceSpecificationTOs (like WSDL
files...) where the given EndpointTO is described
WSDLServiceException - if no endpoint found for the given id
@Transactional(readOnly=true)
java.util.List<ServiceSpecificationTO> getServSpecsForTechServ(java.lang.String techServiceId)
throws WSDLServiceException
techServiceId - a tech service ID
List of ServiceSpecificationTOs (like WSDL
files...) where the given TechnicalServiceTO is described
WSDLServiceException - if no tech service found for the given id
@Transactional(readOnly=true)
java.io.InputStream getWsdlDesc(java.lang.String servSpecId)
throws WSDLServiceException
servSpecId - a service spec ID
ServiceSpecificationTO, as an InputStream
WSDLServiceException - if no service spec found for the given id or if the wsdl file
content can't be retrieved
@Transactional(readOnly=true)
java.lang.String getWsdlDescAsString(java.lang.String servSpecId)
throws WSDLServiceException
servSpecId - a service spec ID
ServiceSpecificationTO, as an String
WSDLServiceException - if no service spec found for the given id, if the wsdl file
content can't be retrieved or if the wsdl file content can't
be converted as string
@Transactional(readOnly=false)
java.lang.String[] importServiceDefFile(org.w3c.dom.Document domDocument)
throws WSDLServiceException,
java.util.concurrent.TimeoutException
importServiceDefFile(Document, Map, String))
domDocument - the WSDL description as a DOM Document
WSDLServiceException - if the wsdl file can't be read or registered, if the wsdl
file signature can't be extracted or if the wsdl file
contains inconsistent entities (ex: same interface names but
with different operations...)
java.util.concurrent.TimeoutException - if a timeout occured during wsdl parsing
@Transactional(readOnly=false)
java.lang.String[] importServiceDefFile(org.w3c.dom.Document domDocument,
java.util.Map<java.lang.String,org.w3c.dom.Document> imports,
java.lang.String wsdlFileName)
throws WSDLServiceException,
java.util.concurrent.TimeoutException
domDocument - the WSDL description as a DOM Documentimports - a Map (key = import location --> value = import
content as Document) of all imported WSDL. Could be
nullwsdlFileName - the wsdl file name. Could be null
WSDLServiceException - if the wsdl file can't be read or registered, if the wsdl
file signature can't be extracted or if the wsdl file
contains inconsistent entities (ex: same interface names but
with different operations...)
java.util.concurrent.TimeoutException - if a timeout occured during wsdl parsing
@Transactional(readOnly=false)
java.lang.String[] importServiceDefFile(org.w3c.dom.Document domDocument,
java.lang.String wsdlFileName)
throws WSDLServiceException,
java.util.concurrent.TimeoutException
importServiceDefFile(Document, Map, String))
domDocument - the WSDL description as a DOM DocumentwsdlFileName - the wsdl file name. Can be null
WSDLServiceException - if the wsdl file can't be read or registered, if the wsdl
file signature can't be extracted or if the wsdl file
contains inconsistent entities (ex: same interface names but
with different operations...)
java.util.concurrent.TimeoutException - if a timeout occured during wsdl parsing
@Transactional(readOnly=false)
java.lang.String[] importServiceDefFile(org.w3c.dom.Element domElement)
throws WSDLServiceException
domElement - the WSDL description as a DOM Element
WSDLServiceException - if an error occurs during description import
@Transactional(readOnly=false)
java.lang.String[] importServiceDefFile(java.net.URI wsdlURI)
throws WSDLServiceException,
java.util.concurrent.TimeoutException
wsdlURI - URI pointing on a WSDL description
WSDLServiceException - if an error occurs during description import
java.util.concurrent.TimeoutException - if a timeout occured during wsdl parsing
@Transactional(readOnly=false)
java.lang.String[] importServiceDefFile(java.net.URI wsdlURI,
java.lang.String wsdlFileName)
throws WSDLServiceException,
java.util.concurrent.TimeoutException
wsdlURI - URI pointing on a WSDL descriptionwsdlFileName - the wsdl file name. Can be null
WSDLServiceException - if an error occurs during description import
java.util.concurrent.TimeoutException - if a timeout occured during wsdl parsing
@Transactional(readOnly=false)
java.lang.String[] importServiceDefFile(java.net.URI wsdlURI,
java.util.Map<java.lang.String,java.net.URI> imports,
java.lang.String wsdlFileName)
throws WSDLServiceException,
java.util.concurrent.TimeoutException
wsdlURI - URI pointing on a WSDL descriptionimports - a Map (key = import location --> value = import
content as URI) of all imported WSDL. Could be nullwsdlFileName - the wsdl file name. Can be null
WSDLServiceException - if an error occurs during description import
java.util.concurrent.TimeoutException - if a timeout occured during wsdl parsing
@Transactional(readOnly=false)
java.lang.String[] importServiceDefFile(java.lang.String wsdlContent)
throws WSDLServiceException,
java.util.concurrent.TimeoutException
importServiceDefFile(String, Map, String)). It
supports absolute imports. If you try to register the same wsdl
(canonically equals without comments) twice, it will be skipped and a
null array is returned.
wsdlContent - the WSDL description content as String
WSDLServiceException - if the wsdl file can't be read or registered, if the wsdl
file signature can't be extracted or if the wsdl file
contains inconsistent entities (ex: same interface names but
with different operations...)
java.util.concurrent.TimeoutException - if a timeout occured during wsdl parsing
@Transactional(readOnly=false)
java.lang.String[] importServiceDefFile(java.lang.String wsdlContent,
java.util.Map<java.lang.String,java.lang.String> imports,
java.lang.String wsdlFileName)
throws WSDLServiceException,
java.util.concurrent.TimeoutException
wsdlContent - the WSDL description content as Stringimports - a Map (key = import location --> value = import
content as String) of all imported WSDL. Could be nullwsdlFileName - the wsdl file name. Can be null
WSDLServiceException - if the wsdl file can't be read or registered, if the wsdl
file signature can't be extracted or if the wsdl file
contains inconsistent entities (ex: same interface names but
with different operations...)
java.util.concurrent.TimeoutException - if a timeout occured during wsdl parsing
@Transactional(readOnly=false)
java.lang.String[] importServiceDefFile(java.lang.String wsdlContent,
java.lang.String wsdlFileName)
throws WSDLServiceException,
java.util.concurrent.TimeoutException
wsdlContent - the WSDL description content as StringwsdlFileName - the wsdl file name. Can be null
WSDLServiceException - if the wsdl file can't be read or registered, if the wsdl
file signature can't be extracted or if the wsdl file
contains inconsistent entities (ex: same interface names but
with different operations...)
java.util.concurrent.TimeoutException - if a timeout occured during wsdl parsing
@Transactional(readOnly=false)
java.lang.String[] importServiceDefFile(org.xml.sax.InputSource wsdlContent)
throws WSDLServiceException,
java.util.concurrent.TimeoutException
importServiceDefFile(InputSource, Map, String)). It
supports absolute imports. If you try to register the same wsdl
(canonically equals without comments) twice, it will be skipped and a
null array is returned.
wsdlContent - the WSDL description content as InputSource
WSDLServiceException - if the wsdl file can't be read or registered, if the wsdl
file signature can't be extracted or if the wsdl file
contains inconsistent entities (ex: same interface names but
with different operations...)
java.util.concurrent.TimeoutException - if a timeout occured during wsdl parsing
@Transactional(readOnly=false)
java.lang.String[] importServiceDefFile(org.xml.sax.InputSource wsdlContent,
java.util.Map<java.lang.String,org.xml.sax.InputSource> imports,
java.lang.String wsdlFileName)
throws WSDLServiceException,
java.util.concurrent.TimeoutException
importServiceDefFile(InputSource, Map, String)). If
you try to register the same wsdl (canonically equals without comments)
twice, it will be skipped and a null array is returned. This methods must
be used to import WSDL that uses relative imports of other WSDL.
wsdlContent - the WSDL description content as InputSourceimports - a Map (key = import location --> value = import
content as InputSource) of all imported WSDL. Could be
nullwsdlFileName - the wsdl file name. Can be null
WSDLServiceException - if the wsdl file can't be read or registered, if the wsdl
file signature can't be extracted or if the wsdl file
contains inconsistent entities (ex: same interface names but
with different operations...)
java.util.concurrent.TimeoutException - if a timeout occured during wsdl parsing
@Transactional(readOnly=false)
java.lang.String[] importServiceDefFile(org.xml.sax.InputSource wsdlContent,
java.lang.String wsdlFileName)
throws WSDLServiceException,
java.util.concurrent.TimeoutException
wsdlContent - the WSDL description content as InputSourcewsdlFileName - the wsdl file name. Can be null
WSDLServiceException - if the wsdl file can't be read or registered, if the wsdl
file signature can't be extracted or if the wsdl file
contains inconsistent entities (ex: same interface names but
with different operations...)
java.util.concurrent.TimeoutException - if a timeout occured during wsdl parsing
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||