Java API

oracle.uddi.client
Class OracleSoapHttpTransportLiaison

java.lang.Object
  |
  +--oracle.uddi.client.OracleSoapHttpTransportLiaison

public class OracleSoapHttpTransportLiaison
extends java.lang.Object
implements SoapHttpTransportLiaison

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.

See Also:
SoapHttpTransportLiaison

Constructor Summary
OracleSoapHttpTransportLiaison()
          Constructor: gets a new instance of this transport mechanism.
 
Method Summary
TypeMethod
 void close()
           
 java.lang.String getAuthType()
           
 java.lang.String getCiphers()
           
 boolean getMaintainSession()
           
 java.lang.String getPassword()
           
 java.lang.String getProxyAuthType()
           
 java.lang.String getProxyHost()
           
 java.lang.String getProxyPassword()
           
 int getProxyPort()
           
 java.lang.String getProxyRealm()
           
 java.lang.String getProxyUserName()
           
 java.lang.String getRealm()
           
 int getTimeout()
           
 boolean getUserInteraction()
           
 java.lang.String getUserName()
           
 java.lang.String getWalletLocation()
           
 java.lang.String getWalletPassword()
           
 org.w3c.dom.Element sendUddiRequest(org.w3c.dom.Element eltUddiRequest, java.lang.String endPointURL)
           
 org.w3c.dom.Element sendUddiRequest(UddiElement uddiRequest, java.lang.String endPointURL, UddiElementFactory uddiEltFactory)
           
 void setAuthType(java.lang.String authType)
           
 void setCiphers(java.lang.String ciphers)
          Set the cipher suites
 void setDebug(boolean isDebug)
           
 void setMaintainSession(boolean maintainSession)
           
 void setPassword(java.lang.String password)
           
 void setProxyAuthType(java.lang.String authType)
           
 void setProxyHost(java.lang.String szHost)
           
 void setProxyPassword(java.lang.String password)
           
 void setProxyPort(int iPort)
           
 void setProxyRealm(java.lang.String szProxyRealm)
           
 void setProxyUserName(java.lang.String username)
           
 void setRealm(java.lang.String szRealm)
           
 void setTimeout(int timeout)
           
 void setUserInteraction(boolean bUserInteraction)
           
 void setUserName(java.lang.String username)
           
 void setWalletLocation(java.lang.String wltLoc)
           
 void setWalletPassword(java.lang.String wltPassword)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OracleSoapHttpTransportLiaison

public OracleSoapHttpTransportLiaison()
Constructor: gets a new instance of this transport mechanism. Once you have the instance, set any necessary transport properties and hand this object to the UddiClient, which will take care of all transport details from that point onward.
Method Detail

setUserInteraction

public void setUserInteraction(boolean bUserInteraction)
Specified by:
setUserInteraction in interface SoapHttpTransportLiaison

getUserInteraction

public boolean getUserInteraction()
Specified by:
getUserInteraction in interface SoapHttpTransportLiaison

setProxyHost

public void setProxyHost(java.lang.String szHost)
Specified by:
setProxyHost in interface SoapHttpTransportLiaison

getProxyHost

public java.lang.String getProxyHost()
Specified by:
getProxyHost in interface SoapHttpTransportLiaison

setProxyPort

public void setProxyPort(int iPort)
Specified by:
setProxyPort in interface SoapHttpTransportLiaison

getProxyPort

public int getProxyPort()
Specified by:
getProxyPort in interface SoapHttpTransportLiaison

setAuthType

public void setAuthType(java.lang.String authType)
Specified by:
setAuthType in interface SoapHttpTransportLiaison

getAuthType

public java.lang.String getAuthType()
Specified by:
getAuthType in interface SoapHttpTransportLiaison

getRealm

public java.lang.String getRealm()
Specified by:
getRealm in interface SoapHttpTransportLiaison

setRealm

public void setRealm(java.lang.String szRealm)
Specified by:
setRealm in interface SoapHttpTransportLiaison

setUserName

public void setUserName(java.lang.String username)
Specified by:
setUserName in interface SoapHttpTransportLiaison

getUserName

public java.lang.String getUserName()
Specified by:
getUserName in interface SoapHttpTransportLiaison

setPassword

public void setPassword(java.lang.String password)
Specified by:
setPassword in interface SoapHttpTransportLiaison

getPassword

public java.lang.String getPassword()
Specified by:
getPassword in interface SoapHttpTransportLiaison

setProxyAuthType

public void setProxyAuthType(java.lang.String authType)
Specified by:
setProxyAuthType in interface SoapHttpTransportLiaison

getProxyAuthType

public java.lang.String getProxyAuthType()
Specified by:
getProxyAuthType in interface SoapHttpTransportLiaison

getProxyRealm

public java.lang.String getProxyRealm()
Specified by:
getProxyRealm in interface SoapHttpTransportLiaison

setProxyRealm

public void setProxyRealm(java.lang.String szProxyRealm)
Specified by:
setProxyRealm in interface SoapHttpTransportLiaison

setProxyUserName

public void setProxyUserName(java.lang.String username)
Specified by:
setProxyUserName in interface SoapHttpTransportLiaison

getProxyUserName

public java.lang.String getProxyUserName()
Specified by:
getProxyUserName in interface SoapHttpTransportLiaison

setProxyPassword

public void setProxyPassword(java.lang.String password)
Specified by:
setProxyPassword in interface SoapHttpTransportLiaison

getProxyPassword

public java.lang.String getProxyPassword()
Specified by:
getProxyPassword in interface SoapHttpTransportLiaison

setWalletLocation

public void setWalletLocation(java.lang.String wltLoc)
Specified by:
setWalletLocation in interface SoapHttpTransportLiaison

getWalletLocation

public java.lang.String getWalletLocation()
Specified by:
getWalletLocation in interface SoapHttpTransportLiaison

setWalletPassword

public void setWalletPassword(java.lang.String wltPassword)
Specified by:
setWalletPassword in interface SoapHttpTransportLiaison

getWalletPassword

public java.lang.String getWalletPassword()
Specified by:
getWalletPassword in interface SoapHttpTransportLiaison

setCiphers

public void setCiphers(java.lang.String ciphers)
Set the cipher suites
Specified by:
setCiphers in interface SoapHttpTransportLiaison

getCiphers

public java.lang.String getCiphers()
Specified by:
getCiphers in interface SoapHttpTransportLiaison

setMaintainSession

public void setMaintainSession(boolean maintainSession)
Specified by:
setMaintainSession in interface SoapHttpTransportLiaison

getMaintainSession

public boolean getMaintainSession()
Specified by:
getMaintainSession in interface SoapHttpTransportLiaison

setTimeout

public void setTimeout(int timeout)
Specified by:
setTimeout in interface SoapHttpTransportLiaison

getTimeout

public int getTimeout()
Specified by:
getTimeout in interface SoapHttpTransportLiaison

close

public void close()

setDebug

public void setDebug(boolean isDebug)

sendUddiRequest

public org.w3c.dom.Element sendUddiRequest(UddiElement uddiRequest,
                                           java.lang.String endPointURL,
                                           UddiElementFactory uddiEltFactory)
                                    throws org.apache.soap.SOAPException

sendUddiRequest

public org.w3c.dom.Element sendUddiRequest(org.w3c.dom.Element eltUddiRequest,
                                           java.lang.String endPointURL)
                                    throws org.apache.soap.SOAPException

Java API

Copyright © 2001 - Oracle Corporation