ucar.soap
Class MessageClient

java.lang.Object
  |
  +--ucar.soap.MessageClient

public class MessageClient
extends java.lang.Object

Simple SOAP messaging client that reads an input xml file and invokes a given URL USAGE: java ucar.soap.MessageClient -url:.... -file:.......


Constructor Summary
MessageClient(java.lang.String url, java.lang.String file)
          Constructor sets instance fields
 
Method Summary
static void main(java.lang.String[] args)
          Main program entry point
 void sendMessage()
          Main processing method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageClient

public MessageClient(java.lang.String url,
                     java.lang.String file)
              throws java.lang.Exception
Constructor sets instance fields

Parameters:
url - the URL of the messaging service to invoke (a message router or a servlet)
file - the XML file to send as body content of the SOAP envelope
Method Detail

sendMessage

public void sendMessage()
Main processing method


main

public static void main(java.lang.String[] args)
Main program entry point