org.uddi4j.transport
Class HPSOAPTransport

java.lang.Object
  extended byorg.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:

Author:
Ravi Trivedi (ravi_trivedi@hp.com)

Field Summary
 java.text.SimpleDateFormat LOG_DATE_FORMAT
           
 
Constructor Summary
HPSOAPTransport()
           
 
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
 

Field Detail

LOG_DATE_FORMAT

public java.text.SimpleDateFormat LOG_DATE_FORMAT
Constructor Detail

HPSOAPTransport

public HPSOAPTransport()
Method Detail

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.