es.upv.dsic.gti_ia.organization
Class ServiceClient

java.lang.Object
  extended by es.upv.dsic.gti_ia.organization.ServiceClient

public class ServiceClient
extends Object

This class provides support to the execution of services using the javax.xml.rpc library


Constructor Summary
ServiceClient()
           
 
Method Summary
 HashMap<String,Object> invoke(String wsdlURL, ArrayList<String> inputParameters)
          Executes the service of the given WSDL URL with the given parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceClient

public ServiceClient()
Method Detail

invoke

public HashMap<String,Object> invoke(String wsdlURL,
                                     ArrayList<String> inputParameters)
Executes the service of the given WSDL URL with the given parameters. Returns the results of the service execution.

Parameters:
wsdlURL - of the service to execute
inputParameters - list of the ordered input parameters of the service to execute
Returns:
a HashMap with the name of the outputs and their values


Copyright © 2012 GTI-IA. All Rights Reserved.