HPSearch

cgl.hpsearch.wsi.util
Class SOAPMessageSender

java.lang.Object
  extended bycgl.hpsearch.wsi.util.SOAPMessageSender

public final class SOAPMessageSender
extends Object

Created on Mar 1, 2005

Author:
Harshawardhan Gadgil (hgadgil@grids.ucs.indiana.edu)

Constructor Summary
SOAPMessageSender()
           
 
Method Summary
static void sendMessage(SOAPMessage msg, String dest)
           
static void sendOneWay(SOAPMessage msg, String dest)
           
static SOAPMessage sendRequestResponseMessage(SOAPMessage msg, String dest)
           
static SOAPMessage sendTo(SOAPMessage msg, String dest)
          Uses the SOAPConnectionFactory to invoke the SOAP request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SOAPMessageSender

public SOAPMessageSender()
Method Detail

sendTo

public static SOAPMessage sendTo(SOAPMessage msg,
                                 String dest)
                          throws SOAPException
Uses the SOAPConnectionFactory to invoke the SOAP request.

Parameters:
msg - - Input SOAP message
dest - - End point URI of the destination to which the soap message is to be sent
Returns:
- Output (Response) soap message
Throws:
SOAPException

sendOneWay

public static void sendOneWay(SOAPMessage msg,
                              String dest)
                       throws SOAPException
Throws:
SOAPException

sendMessage

public static void sendMessage(SOAPMessage msg,
                               String dest)
                        throws UnknownHostException,
                               IOException
Throws:
UnknownHostException
IOException

sendRequestResponseMessage

public static SOAPMessage sendRequestResponseMessage(SOAPMessage msg,
                                                     String dest)
                                              throws UnknownHostException,
                                                     IOException
Throws:
UnknownHostException
IOException

HPSearch

For comments and suggestions please send e-mail to Harshawardhan Gadgil
Last updated: June 9 2006