|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This repository is responsible for storage and indexing of handled WSDL files structure data for providing of effective finder operations on handled definitions.
Nested Class Summary | |
static interface |
WSDLRepository.Config
|
static class |
WSDLRepository.PortInfo
A holder for a Port meta data. |
static class |
WSDLRepository.ServiceInfo
A holder for a Service meta data. |
Method Summary | |
WSDLRepository.PortInfo[] |
findPortByPortType(QName portTypeQName)
This method tries to search WSDLRepository indexes for WSDL definition, which has service's port with binding of given portType. |
WSDLRepository.ServiceInfo |
findService(QName serviceQName)
This method tries to search WSDLRepository indexes for WSDL service by its qualified name. |
java.lang.String |
findWSDLUrlByPort(java.lang.String portName,
QName serviceQName)
This method tries to search WSDLRepository indexes for WSDL definition, which contains given service's port. |
Definition |
getDefinition(java.lang.String wsdlURL)
This method reads definition from given URL and returns its Java representation. |
Definition |
getDefinition(java.lang.String wsdlURL,
boolean register)
This method reads definition from given URL and returns its Java representation. |
Definition |
getDefinition(java.lang.String wsdlURL,
boolean register,
java.util.Map transportProps)
This method reads definition from given URL and returns its Java representation. |
Definition |
getDefinition(java.lang.String wsdlURL,
java.util.Map transportProps)
This method reads definition from given URL and returns its Java representation. |
Method Detail |
public Definition getDefinition(java.lang.String wsdlURL, boolean register) throws java.net.MalformedURLException, java.io.IOException, org.xml.sax.SAXException, WSDLException
wsdlURL
- URL of requested definitionregister
- flag that controls, if requested definition should be processed by internal WSDLRepository indexing mechanisms
javax.wsdl.Definition
representation
java.net.MalformedURLException
- if an error occurs
java.io.IOException
- if an error occurs
org.xml.sax.SAXException
- if an error occurs
WSDLException
- if an error occurspublic Definition getDefinition(java.lang.String wsdlURL) throws java.net.MalformedURLException, java.io.IOException, org.xml.sax.SAXException, WSDLException
wsdlURL
- URL of requested definition
javax.wsdl.Definition
representation
java.net.MalformedURLException
- if an error occurs
java.io.IOException
- if an error occurs
org.xml.sax.SAXException
- if an error occurs
WSDLException
- if an error occurspublic Definition getDefinition(java.lang.String wsdlURL, java.util.Map transportProps) throws java.net.MalformedURLException, java.io.IOException, org.xml.sax.SAXException, WSDLException
wsdlURL
- URL of requested definitiontransportProps
- the properties used to configure the transport operation.
This parameter may be null
.
javax.wsdl.Definition
representation
java.net.MalformedURLException
- if an error occurs
java.io.IOException
- if an error occurs
org.xml.sax.SAXException
- if an error occurs
WSDLException
- if an error occurspublic Definition getDefinition(java.lang.String wsdlURL, boolean register, java.util.Map transportProps) throws java.net.MalformedURLException, java.io.IOException, org.xml.sax.SAXException, WSDLException
wsdlURL
- URL of requested definitionregister
- flag that controls, if requested definition should be processed by internal WSDLRepository indexing mechanismstransportProps
- the properties used to configure the transport operation.
This parameter may be null
.
javax.wsdl.Definition
representation
java.net.MalformedURLException
- if an error occurs
java.io.IOException
- if an error occurs
org.xml.sax.SAXException
- if an error occurs
WSDLException
- if an error occurspublic WSDLRepository.PortInfo[] findPortByPortType(QName portTypeQName)
portTypeQName
- qualified name of requested portType declaration
PortInfo
holder or null if not foundpublic java.lang.String findWSDLUrlByPort(java.lang.String portName, QName serviceQName)
portName
- name of the requested WSDL service's portserviceQName
- qualified name of WSDL port's service
public WSDLRepository.ServiceInfo findService(QName serviceQName)
serviceQName
- qualified name of WSDL service
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |