Package org.apache.wsil.client
Class WSILProxy
java.lang.Object
org.apache.wsil.client.WSILProxy
This class gives access to an inspection.wsil document and its
contents. This information can be use to find, deploy and bind services.
- Version:
- 1.0
- Author:
- Alfredo da Silva
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.uddi4j.datatype.service.BusinessService[]
getBusinessServiceByServiceName
(String serviceName) Returns an array of BusinessServices given a service name.getWSDLDocumentByBinding
(QName bindingName) Returns an array of WSDLDocuments given a binding name.getWSDLDocumentByName
(String wsdlDocName) Returns an array of WSDLDocuments given a name.getWSDLDocumentByPortType
(QName portTypeName) Returns an array of WSDLDocuments given a portType name.getWSDLDocumentByServiceName
(String serviceName) Returns an array of WSDLDocuments given a service name.String[]
getWSDLDocumentLocations
(String serviceName) Returns the an array of WSDL document locations given a service name.Returns a WSIL document.static void
Displays the contents of the default WS-Inspection document or the specified document.void
print
(OutputStream out) Print the internal WSIL document.
-
Constructor Details
-
WSILProxy
Creates a newWSILProxy
instance.- Throws:
WSILException
- if an error occurs
-
WSILProxy
Creates a newWSILProxy
instance.- Parameters:
wsilDocumentURL
- anURL
value- Throws:
WSILException
- if an error occurs
-
WSILProxy
Creates a newWSILProxy
instance.- Parameters:
inspectionElement
- anElement
value- Throws:
WSILException
- if an error occurs
-
-
Method Details
-
getWSILDocument
Returns a WSIL document.- Returns:
- a
WSILDocument
value.
-
getWSDLDocumentByServiceName
Returns an array of WSDLDocuments given a service name.- Parameters:
serviceName
- aString
value- Returns:
- a
WSDLDocument[]
value or null if no documents were found. - Throws:
WSILException
- if an error occurs
-
getWSDLDocumentByName
Returns an array of WSDLDocuments given a name.- Parameters:
wsdlDocName
- aString
value- Returns:
- a
WSDLDocument
value or null if no documents were found. - Throws:
WSILException
- if an error occurs
-
getWSDLDocumentByBinding
Returns an array of WSDLDocuments given a binding name.- Parameters:
bindingName
- aQName
value- Returns:
- a
WSDLDocument
value or null if no documents were found. - Throws:
WSILException
- if an error occurs
-
getWSDLDocumentByPortType
Returns an array of WSDLDocuments given a portType name.- Parameters:
portTypeName
- aQName
value- Returns:
- a
WSDLDocument
value or null if no documents were found. - Throws:
WSILException
- if an error occurs
-
getBusinessServiceByServiceName
public org.uddi4j.datatype.service.BusinessService[] getBusinessServiceByServiceName(String serviceName) throws WSILException Returns an array of BusinessServices given a service name.- Parameters:
serviceName
- aString
value- Returns:
- a
BusinessService
value or null if no elements were found. - Throws:
WSILException
- if an error occurs
-
print
Print the internal WSIL document.- Parameters:
out
- anOutputStream
value- Throws:
WSILException
- if an error occurs
-
getWSDLDocumentLocations
Returns the an array of WSDL document locations given a service name.- Parameters:
serviceName
- aString
value- Returns:
- a
String[]
value or null if no locations were found. - Throws:
WSILException
-
main
Displays the contents of the default WS-Inspection document or the specified document.- Parameters:
args
- an array of command-line arguments
-