org.uddi4j.transport
Class HPSOAPTransport
java.lang.Object
org.uddi4j.transport.HPSOAPTransport
- All Implemented Interfaces:
- Transport
- public class HPSOAPTransport
- extends java.lang.Object
- implements Transport
Implementation for a SOAP transport to be used by UDDI4J.
This uses HP SOAP as the underlying transport.
The following system properties are used:
- org.uddi4j.TransportClassName = full class name of Transport
implementation class. In this case, it is
org.uddi4j.transport.HPSOAPTransport
- http.proxyHost = Hostname of http proxy
- https.proxyHost = Hostname of https proxy
- http.proxyPort = Portname of http proxy
- https.proxyPort = Portname of https proxy
- org.uddi4j.logEnabled = (true/false) Turns logging of messages on or
off. This can be changed at the runtime, and will be reloaded.
- hpsoap.logFileName = name of the log file. In case this property is
missing or there isnt write permission in the directory, log messages are sent
to System.out. The file is created in case the file does not exist.
- hpsoap.logDirectory = directory containing the log file.
In case this property is missing or a wrong directory is specified, the file
is assumed to be in the current working directory. The directory is *NOT*
created if it is not present.
- Author:
- Ravi Trivedi (ravi_trivedi@hp.com)
Method Summary |
org.w3c.dom.Element |
send(org.w3c.dom.Element el,
java.net.URL url)
Sends an XML DOM tree, identified by the given element, to either the
inquiry or publish URL. |
org.w3c.dom.Element |
send(UDDIElement el,
java.net.URL url)
Sends a UDDIElement to either the inquiry or publish URL. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG_DATE_FORMAT
public java.text.SimpleDateFormat LOG_DATE_FORMAT
HPSOAPTransport
public HPSOAPTransport()
send
public org.w3c.dom.Element send(UDDIElement el,
java.net.URL url)
throws TransportException
- Sends a UDDIElement to either the inquiry or publish URL.
- Specified by:
send
in interface Transport
- Parameters:
el
- Element to send.url
- Destination URL
- Returns:
- An element representing a XML DOM tree containing the UDDI
response.
- Throws:
SOAPException
TransportException
- Thrown if a problem occurs during transmission
send
public org.w3c.dom.Element send(org.w3c.dom.Element el,
java.net.URL url)
throws TransportException
- Sends an XML DOM tree, identified by the given element, to either the
inquiry or publish URL.
- Specified by:
send
in interface Transport
- Parameters:
el
- Element to send.url
- Destination URL
- Returns:
- An element representing a XML DOM tree containing the UDDI
response.
- Throws:
SOAPException
TransportException
- Thrown if a problem occurs during transmission
Copyright © 2001 International Business Machines Corporation, Hewlett-Packard Company. All Rights Reserved.