edu.isi.powerloom.gui.serverinterface
Class SoapSender

java.lang.Object
  |
  +--edu.isi.powerloom.gui.serverinterface.SoapSender

public class SoapSender
extends java.lang.Object

Utility class for sending SOAP to the server. This leverages the castor framework for marshaling/unmarshaling objects.

Since:
Thu Feb 21 16:30:27 2002
Author:
Eric Melz

Constructor Summary
SoapSender()
           
 
Method Summary
static java.lang.String getServerURL()
           
static java.lang.String marshalXMLObject(XMLObject object)
          Public interface to marshalling/unmarshalling xmlObjects.
static XMLObject sendSoap(java.lang.String methodName, java.util.Collection arguments)
          Marshal arguments and send soap to client
static XMLObject unmarshalXMLObject(java.lang.String xmlString)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoapSender

public SoapSender()
Method Detail

getServerURL

public static java.lang.String getServerURL()
                                     throws ClientException
ClientException

sendSoap

public static XMLObject sendSoap(java.lang.String methodName,
                                 java.util.Collection arguments)
                          throws AppServerException,
                                 ClientException
Marshal arguments and send soap to client

AppServerException
ClientException

marshalXMLObject

public static java.lang.String marshalXMLObject(XMLObject object)
                                         throws java.lang.Exception
Public interface to marshalling/unmarshalling xmlObjects. Todo? Move this to another class.

java.lang.Exception

unmarshalXMLObject

public static XMLObject unmarshalXMLObject(java.lang.String xmlString)
                                    throws java.lang.Exception
java.lang.Exception


Copyright © 2002 University of Southern California Information Sciences Institute. All Rights Reserved.