|
Oracle® Application Server Web Services UDDI Client API Reference 10g Release 2 (10.1.2) Part No. B13971-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.uddi.client.OracleSoapHttpTransportLiaison
An implementation of SoapHttpTransportLiaison
based on OracleSOAP (which is based on ApacheSOAP). This implementation provides the transport layer between a UDDI client and a UDDI server, using the SOAP protocol and HTTP transport protocol.
For specific method details, see the descriptions in the implemented interface.
To make use of this transport mechanism, instantiate it and set any HTTP transport-related properties that need to be set based on your environment and intended usage - proxies, realms, username, password, wallet, ciphers, etc. Then instantiate a UddiClient object, passing this object to it. You may also want to pass an instance of a TransportAuthenticationLiaison
object to tell UddiClient to rely on this transport object for authentication and session management. Now you may use the UddiClient as your client-side interface to the UDDI registry.
SoapHttpTransportLiaison
Field Summary |
Fields inherited from interface oracle.uddi.client.SoapHttpTransportLiaison |
HTTP_AUTH_TYPE_BASIC, HTTP_AUTH_TYPE_DIGEST, HTTP_PROXY_AUTH_TYPE_BASIC, HTTP_PROXY_AUTH_TYPE_DIGEST, ORAUDDI_INQUIRY_DEFAULT_REALM, ORAUDDI_PUBLISHING_DEFAULT_REALM |
Fields inherited from interface oracle.uddi.client.SoapTransportLiaison |
DEBUG_PROP_NAME |
Constructor Summary | |
OracleSoapHttpTransportLiaison() Constructor: gets a new instance of this transport mechanism. |
Method Summary | |
void |
close() Closes the connection and frees up all dedicated resources, such as TCP connections, opened readers/writers, etc. |
java.lang.String |
getAuthType() Get the HTTP authentication type. |
java.lang.String |
getCiphers() Get the cipher suites. |
boolean |
getMaintainSession() Return session maintanence status. |
java.lang.String |
getPassword() Get the password for HTTP authentication. |
java.lang.String |
getProxyAuthType() Get the HTTP proxy authentication type. |
java.lang.String |
getProxyHost() Get HTTP proxy host. |
java.lang.String |
getProxyPassword() Get the password for HTTP proxy authentication. |
int |
getProxyPort() Get HTTP proxy port. |
java.lang.String |
getProxyRealm() Get the name of the realm for HTTP proxy authentication. |
java.lang.String |
getProxyUserName() Get the username for HTTP proxy authentication. |
java.lang.String |
getRealm() Get the name of the realm for HTTP authentication. |
int |
getTimeout() Get the HTTP read timeout. |
boolean |
getUserInteraction() Get user interaction. |
java.lang.String |
getUserName() Get the username for HTTP authentication. |
java.lang.String |
getWalletLocation() Get the Wallet Location. |
java.lang.String |
getWalletPassword() Get the Wallet password. |
org.w3c.dom.Element |
sendUddiRequest(org.w3c.dom.Element eltUddiRequest, java.lang.String endPointURL) Take the named UDDI request in the form of DOM element and send it using SOAP protocol. |
org.w3c.dom.Element |
sendUddiRequest(UddiElement uddiRequest, java.lang.String endPointURL, UddiElementFactory uddiEltFactory) Take the named UDDI request and send it using SOAP protocol. |
void |
setAuthType(java.lang.String authType) Set the HTTP authentication type. |
void |
setCiphers(java.lang.String ciphers) Set the cipher suites |
void |
setDebug(boolean isDebug) |
void |
setMaintainSession(boolean maintainSession) Indicate whether to maintain HTTP sessions. |
void |
setPassword(java.lang.String password) Set the password for HTTP authentication. |
void |
setProxyAuthType(java.lang.String authType) Set the HTTP proxy authentication type. |
void |
setProxyHost(java.lang.String szHost) Set HTTP proxy host. |
void |
setProxyPassword(java.lang.String password) Set the password for HTTP proxy authentication. |
void |
setProxyPort(int iPort) Set HTTP proxy port. |
void |
setProxyRealm(java.lang.String szProxyRealm) Set the name of the realm for HTTP proxy authentication. |
void |
setProxyUserName(java.lang.String username) Set the username for HTTP proxy authentication. |
void |
setRealm(java.lang.String szRealm) Set the name of the realm for HTTP authentication. |
void |
setTimeout(int timeout) Set the HTTP read timeout. |
void |
setUserInteraction(boolean bUserInteraction) Set user interaction. |
void |
setUserName(java.lang.String username) Set the username for HTTP authentication. |
void |
setWalletLocation(java.lang.String wltLoc) Set the Wallet Location for SSL communication. |
void |
setWalletPassword(java.lang.String wltPassword) Set the Wallet password. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OracleSoapHttpTransportLiaison()
Method Detail |
public void setUserInteraction(boolean bUserInteraction)
SoapHttpTransportLiaison
setUserInteraction
in interface SoapHttpTransportLiaison
bUserInteraction
- allow userInteraction if true.public boolean getUserInteraction()
SoapHttpTransportLiaison
getUserInteraction
in interface SoapHttpTransportLiaison
public void setProxyHost(java.lang.String szHost)
SoapHttpTransportLiaison
setProxyHost
in interface SoapHttpTransportLiaison
szHost
- the HTTP proxy host or null if no proxy.public java.lang.String getProxyHost()
SoapHttpTransportLiaison
getProxyHost
in interface SoapHttpTransportLiaison
public void setProxyPort(int iPort)
SoapHttpTransportLiaison
setProxyPort
in interface SoapHttpTransportLiaison
iPort
- the HTTP proxy port.public int getProxyPort()
SoapHttpTransportLiaison
getProxyPort
in interface SoapHttpTransportLiaison
public void setAuthType(java.lang.String authType)
SoapHttpTransportLiaison
setAuthType
in interface SoapHttpTransportLiaison
HTTP_AUTH_TYPE_BASIC
, HTTP_AUTH_TYPE_DIGEST
public java.lang.String getAuthType()
SoapHttpTransportLiaison
getAuthType
in interface SoapHttpTransportLiaison
public java.lang.String getRealm()
SoapHttpTransportLiaison
getRealm
in interface SoapHttpTransportLiaison
public void setRealm(java.lang.String szRealm)
SoapHttpTransportLiaison
setRealm
in interface SoapHttpTransportLiaison
public void setUserName(java.lang.String username)
SoapHttpTransportLiaison
setUserName
in interface SoapHttpTransportLiaison
public java.lang.String getUserName()
SoapHttpTransportLiaison
getUserName
in interface SoapHttpTransportLiaison
public void setPassword(java.lang.String password)
SoapHttpTransportLiaison
setPassword
in interface SoapHttpTransportLiaison
public java.lang.String getPassword()
SoapHttpTransportLiaison
getPassword
in interface SoapHttpTransportLiaison
public void setProxyAuthType(java.lang.String authType)
SoapHttpTransportLiaison
setProxyAuthType
in interface SoapHttpTransportLiaison
HTTP_PROXY_AUTH_TYPE_BASIC
, HTTP_PROXY_AUTH_TYPE_DIGEST
public java.lang.String getProxyAuthType()
SoapHttpTransportLiaison
getProxyAuthType
in interface SoapHttpTransportLiaison
public java.lang.String getProxyRealm()
SoapHttpTransportLiaison
getProxyRealm
in interface SoapHttpTransportLiaison
public void setProxyRealm(java.lang.String szProxyRealm)
SoapHttpTransportLiaison
setProxyRealm
in interface SoapHttpTransportLiaison
public void setProxyUserName(java.lang.String username)
SoapHttpTransportLiaison
setProxyUserName
in interface SoapHttpTransportLiaison
public java.lang.String getProxyUserName()
SoapHttpTransportLiaison
getProxyUserName
in interface SoapHttpTransportLiaison
public void setProxyPassword(java.lang.String password)
SoapHttpTransportLiaison
setProxyPassword
in interface SoapHttpTransportLiaison
public java.lang.String getProxyPassword()
SoapHttpTransportLiaison
getProxyPassword
in interface SoapHttpTransportLiaison
public void setWalletLocation(java.lang.String wltLoc)
SoapHttpTransportLiaison
setWalletLocation
in interface SoapHttpTransportLiaison
public java.lang.String getWalletLocation()
SoapHttpTransportLiaison
getWalletLocation
in interface SoapHttpTransportLiaison
public void setWalletPassword(java.lang.String wltPassword)
SoapHttpTransportLiaison
setWalletPassword
in interface SoapHttpTransportLiaison
public java.lang.String getWalletPassword()
SoapHttpTransportLiaison
getWalletPassword
in interface SoapHttpTransportLiaison
public void setCiphers(java.lang.String ciphers)
setCiphers
in interface SoapHttpTransportLiaison
public java.lang.String getCiphers()
SoapHttpTransportLiaison
getCiphers
in interface SoapHttpTransportLiaison
public void setMaintainSession(boolean maintainSession)
SoapHttpTransportLiaison
setMaintainSession
in interface SoapHttpTransportLiaison
public boolean getMaintainSession()
SoapHttpTransportLiaison
getMaintainSession
in interface SoapHttpTransportLiaison
public void setTimeout(int timeout)
SoapHttpTransportLiaison
setTimeout
in interface SoapHttpTransportLiaison
timeout
- the amount of time, in ms, to block on reading data. A zero value indicates an infinite timeout.public int getTimeout()
SoapHttpTransportLiaison
getTimeout
in interface SoapHttpTransportLiaison
public void close()
SoapTransportLiaison
close
in interface SoapTransportLiaison
public void setDebug(boolean isDebug)
setDebug
in interface SoapTransportLiaison
public org.w3c.dom.Element sendUddiRequest(UddiElement uddiRequest, java.lang.String endPointURL, UddiElementFactory uddiEltFactory) throws org.apache.soap.SOAPException
SoapTransportLiaison
sendUddiRequest
in interface SoapTransportLiaison
org.apache.soap.SOAPException
public org.w3c.dom.Element sendUddiRequest(org.w3c.dom.Element eltUddiRequest, java.lang.String endPointURL) throws org.apache.soap.SOAPException
SoapTransportLiaison
sendUddiRequest
in interface SoapTransportLiaison
org.apache.soap.SOAPException
|
Oracle® Application Server Web Services UDDI Client API Reference 10g Release 2 (10.1.2) Part No. B13971-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |