public class WSILProxy
extends java.lang.Object
Constructor and Description |
---|
WSILProxy()
Creates a new
WSILProxy instance. |
WSILProxy(org.w3c.dom.Element inspectionElement)
Creates a new
WSILProxy instance. |
WSILProxy(java.lang.String wsilDocumentURL)
Creates a new
WSILProxy instance. |
Modifier and Type | Method and Description |
---|---|
BusinessService[] |
getBusinessServiceByServiceName(java.lang.String serviceName)
Returns an array of BusinessServices given a service name.
|
WSDLDocument[] |
getWSDLDocumentByBinding(QName bindingName)
Returns an array of WSDLDocuments given a binding name.
|
WSDLDocument[] |
getWSDLDocumentByName(java.lang.String wsdlDocName)
Returns an array of WSDLDocuments given a name.
|
WSDLDocument[] |
getWSDLDocumentByPortType(QName portTypeName)
Returns an array of WSDLDocuments given a portType name.
|
WSDLDocument[] |
getWSDLDocumentByServiceName(java.lang.String serviceName)
Returns an array of WSDLDocuments given a service name.
|
java.lang.String[] |
getWSDLDocumentLocations(java.lang.String serviceName)
Returns the an array of WSDL document locations given a service name.
|
WSILDocument |
getWSILDocument()
Returns a WSIL document.
|
static void |
main(java.lang.String[] args)
Displays the contents of the default WS-Inspection document
or the specified document.
|
void |
print(java.io.OutputStream out)
Print the internal WSIL document.
|
public WSILProxy() throws WSILException
WSILProxy
instance.WSILException
- if an error occurspublic WSILProxy(java.lang.String wsilDocumentURL) throws WSILException
WSILProxy
instance.wsilDocumentURL
- an URL
valueWSILException
- if an error occurspublic WSILProxy(org.w3c.dom.Element inspectionElement) throws WSILException
WSILProxy
instance.inspectionElement
- an Element
valueWSILException
- if an error occurspublic WSILDocument getWSILDocument()
WSILDocument
value.public WSDLDocument[] getWSDLDocumentByServiceName(java.lang.String serviceName) throws WSILException
serviceName
- a String
valueWSDLDocument[]
value or null if no documents
were found.WSILException
- if an error occurspublic WSDLDocument[] getWSDLDocumentByName(java.lang.String wsdlDocName) throws WSILException
wsdlDocName
- a String
valueWSDLDocument
value or null if no documents were
found.WSILException
- if an error occurspublic WSDLDocument[] getWSDLDocumentByBinding(QName bindingName) throws WSILException
bindingName
- a QName
valueWSDLDocument
value or null if no documents were
found.WSILException
- if an error occurspublic WSDLDocument[] getWSDLDocumentByPortType(QName portTypeName) throws WSILException
portTypeName
- a QName
valueWSDLDocument
value or null if no documents were
found.WSILException
- if an error occurspublic BusinessService[] getBusinessServiceByServiceName(java.lang.String serviceName) throws WSILException
serviceName
- a String
valueBusinessService
value or null if no elements were
found.WSILException
- if an error occurspublic void print(java.io.OutputStream out) throws WSILException
out
- an OutputStream
valueWSILException
- if an error occurspublic java.lang.String[] getWSDLDocumentLocations(java.lang.String serviceName) throws WSILException
serviceName
- a String
valueString[]
value or null if no locations were found.WSILException
public static void main(java.lang.String[] args)
args
- an array of command-line argumentsCopyright ? 2001 International Business Machines Corporation. All Rights Reserved.