oracle.uddi.client
Interface SoapTransportLiaison
- All Known Subinterfaces:
- SoapHttpTransportLiaison
- public abstract interface SoapTransportLiaison
Defines an interface for a transport layer between a UDDI
client and a UDDI server. Specifically, for UDDI the
transport must be performed via the SOAP protocol, which
itself operates on top of an underlying wire transport
protocol.
This interface should be implemented and the
resulting instance can be used to specify transport parameters;
it is then passed to UddiClient and transport handling becomes
transparent to the user of the API.
Type | Field |
static java.lang.String |
DEBUG_PROP_NAME
The name of the java system property for enabling debug of
a transport liaison. |
Type | Method |
void |
close()
Closes the connection and frees up all dedicated resources, such as
TCP connections, opened readers/writers, etc. |
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 |
setDebug(boolean isDebug)
|
DEBUG_PROP_NAME
public static final java.lang.String DEBUG_PROP_NAME
- The name of the java system property for enabling debug of
a transport liaison. A non-null value will mean true.
setDebug
public void setDebug(boolean isDebug)
close
public void close()
- Closes the connection and frees up all dedicated resources, such as
TCP connections, opened readers/writers, etc.
It should remain silent if it has been called repeatedly.
sendUddiRequest
public org.w3c.dom.Element sendUddiRequest(UddiElement uddiRequest,
java.lang.String endPointURL,
UddiElementFactory uddiEltFactory)
throws org.apache.soap.SOAPException
- Take the named UDDI request and send it using SOAP protocol.
When the soap endpoint returns a Fault message,
it should not throw a SOAPException. The caller of the
method is expected to handle Fault message.
- Returns:
- the first entry under the body of the soap response.
sendUddiRequest
public org.w3c.dom.Element sendUddiRequest(org.w3c.dom.Element eltUddiRequest,
java.lang.String endPointURL)
throws org.apache.soap.SOAPException
- Take the named UDDI request in the form of
DOM element and send it using SOAP protocol.
When the soap endpoint returns a Fault message,
it should not throw a SOAPException. The caller of the
method is expected to handle Fault message.
- Returns:
- the first entry under the body of the soap response.
Copyright © 2001 - Oracle Corporation