org.optimizationservices.oscommon.communicationagent
Class TestASMXAgent

java.lang.Object
  extended by org.optimizationservices.oscommon.communicationagent.TestASMXAgent

public class TestASMXAgent
extends java.lang.Object

The TestASMXAgent is a test agent for ASMX Web Services.

Since:
OS 1.0
Version:
1.0, 03/14/2004
Author:
Robert Fourer, Jun Ma, Kipp Martin

Field Summary
 java.lang.String address
          address holds the address (uri/url) of the Optimization Services (OS) simulation.
 
Constructor Summary
TestASMXAgent()
          Constructor.
TestASMXAgent(java.lang.String address)
          Constructor.
 
Method Summary
 java.lang.String call(java.lang.String input)
          Invoke the Web Services.
 java.lang.String getJobID(java.lang.String input)
          Invoke the Web Services.
static void main(java.lang.String[] args)
          main for test purposes.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

address

public java.lang.String address
address holds the address (uri/url) of the Optimization Services (OS) simulation.

Constructor Detail

TestASMXAgent

public TestASMXAgent()
Constructor.


TestASMXAgent

public TestASMXAgent(java.lang.String address)
Constructor.

Parameters:
address - holds the address (uri/url) of the Web Services.
Method Detail

call

public java.lang.String call(java.lang.String input)
Invoke the Web Services.


getJobID

public java.lang.String getJobID(java.lang.String input)
Invoke the Web Services.


main

public static void main(java.lang.String[] args)
main for test purposes.

Parameters:
argv - command line arguments.