org.aselect.system.communication.client.soap11
Class SOAP11Communicator

java.lang.Object
  extended by org.aselect.system.communication.client.soap11.SOAP11Communicator
All Implemented Interfaces:
IClientCommunicator

public class SOAP11Communicator
extends java.lang.Object
implements IClientCommunicator

Client communicator which uses SOAP 1.1 over HTTP.

Description:
The SOAP communicator is used to create, retrieve, and send SOAP 1.1 messages.

Author:
Alfa & Ariss

Constructor Summary
SOAP11Communicator(java.lang.String sCallMethod, SystemLogger systemLogger)
          Creates a new SOAP11Communicator.
 
Method Summary
 java.util.Hashtable sendMessage(java.util.Hashtable htParameters, java.lang.String sUrl)
          Creates a SOAP message of the given parameters and sends it to the given url.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SOAP11Communicator

public SOAP11Communicator(java.lang.String sCallMethod,
                          SystemLogger systemLogger)
Creates a new SOAP11Communicator.

Preconditions:
Postconditions:

Parameters:
sCallMethod - The method name that is used in the SOAP message.
systemLogger - The Logger to log system log entries.
Method Detail

sendMessage

public java.util.Hashtable sendMessage(java.util.Hashtable htParameters,
                                       java.lang.String sUrl)
                                throws ASelectCommunicationException
Creates a SOAP message of the given parameters and sends it to the given url.

Description:
Executes the following steps:

Specified by:
sendMessage in interface IClientCommunicator
Parameters:
htParameters - The API call request parameters (Hashtable with name/value pairs)
sUrl - A String containing the target URL
Returns:
The response parameters of the API call in a Hashtable
Throws:
ASelectCommunicationException - If suplied URL is invalid.
See Also:
IClientCommunicator.sendMessage(java.util.Hashtable, java.lang.String)


Copyright © 2008 SURFnet BV. All Rights Reserved.