|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wsif.wsdl.AuthenticatingProxyWSDLLocatorImpl
Implementation of javax.wsdl.xml.WSDLLocator. This class can be used to locate a wsdl document behind an authenticating proxy.
Constructor Summary | |
AuthenticatingProxyWSDLLocatorImpl(java.lang.String wsdlLoc,
java.net.PasswordAuthentication pa)
Create an instance of AuthenticatingProxyWSDLLocatorImpl. |
|
AuthenticatingProxyWSDLLocatorImpl(java.lang.String docBaseURI,
java.io.Reader docBaseReader,
java.net.PasswordAuthentication pa)
Create an instance of AuthenticatingProxyWSDLLocatorImpl. |
|
AuthenticatingProxyWSDLLocatorImpl(java.lang.String wsdlLoc,
java.lang.String un,
java.lang.String passwd)
Create an instance of AuthenticatingProxyWSDLLocatorImpl. |
Method Summary | |
void |
close()
Close any Reader or stream objects that have been created |
org.xml.sax.InputSource |
getBaseInputSource()
Get an InputSource for the base wsdl document. |
java.io.Reader |
getBaseReader()
Deprecated. Old WSDLLocator method, no longer on the interface |
java.lang.String |
getBaseURI()
Get the document base uri for the base wsdl document |
org.xml.sax.InputSource |
getImportInputSource(java.lang.String base,
java.lang.String relativeLocation)
Get an InputSource for an imported wsdl document. |
java.io.Reader |
getImportReader(java.lang.String base,
java.lang.String relativeLocation)
Deprecated. Old WSDLLocator method, no longer on the interface |
java.lang.String |
getLatestImportURI()
Get the document base uri for the last import document to be resolved by this locator. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AuthenticatingProxyWSDLLocatorImpl(java.lang.String wsdlLoc, java.lang.String un, java.lang.String passwd) throws javax.wsdl.WSDLException
wsdlLoc
- The uri for the base wsdl documentun
- The username for proxy authenticationpublic AuthenticatingProxyWSDLLocatorImpl(java.lang.String wsdlLoc, java.net.PasswordAuthentication pa) throws javax.wsdl.WSDLException
wsdlLoc
- The uri for the base wsdl documentpa
- Username and password encapsulated in a java.net.PasswordAuthenticationpublic AuthenticatingProxyWSDLLocatorImpl(java.lang.String docBaseURI, java.io.Reader docBaseReader, java.net.PasswordAuthentication pa) throws javax.wsdl.WSDLException
docBaseURI
- The document base uri for the base wsdl documentdocBaseReader
- A Reader for reading the base wsdl documentpa
- Username and password encapsulated in a java.net.PasswordAuthenticationMethod Detail |
public org.xml.sax.InputSource getBaseInputSource()
getBaseInputSource
in interface javax.wsdl.xml.WSDLLocator
public org.xml.sax.InputSource getImportInputSource(java.lang.String base, java.lang.String relativeLocation)
getImportInputSource
in interface javax.wsdl.xml.WSDLLocator
base
- The document base uri for the parent wsdl documentrelativeLocation
- The relative uri of the import wsdl document
public java.io.Reader getBaseReader()
public java.io.Reader getImportReader(java.lang.String base, java.lang.String relativeLocation)
public java.lang.String getBaseURI()
getBaseURI
in interface javax.wsdl.xml.WSDLLocator
public java.lang.String getLatestImportURI()
getLatestImportURI
in interface javax.wsdl.xml.WSDLLocator
public void close() throws java.io.IOException
close
in interface ClosableLocator
java.io.IOException
- If a call to close() on one of the Reader or stream objects fails
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |