es.juntadeandalucia.afirma.custody.soap
Class SoapDelegate

java.lang.Object
  extended by org.apache.axis.handlers.BasicHandler
      extended by es.juntadeandalucia.afirma.custody.soap.SoapDelegate
All Implemented Interfaces:
Serializable, org.apache.axis.Handler

public class SoapDelegate
extends org.apache.axis.handlers.BasicHandler

Delegado para las peticiones SOAP.

Version:
Revision: $Rev: 19264 $
, Last modified: $Date: 2016-01-26 12:19:15 +0100 (mar, 26 ene 2016) $
, Modified by: $Author: alejandro.roman $
Author:
Ernesto Salgado Suárez
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.axis.handlers.BasicHandler
makeLockable, name, options
 
Constructor Summary
SoapDelegate(CustodyConfiguration configuration)
           
 
Method Summary
 void invoke(org.apache.axis.MessageContext msgContext)
          Método delegado del handler.
 String invokeSoapCall(String serviceName, String operation, String request)
          Realiza una petición SOAP al servicio que se indica como parámetro
 
Methods inherited from class org.apache.axis.handlers.BasicHandler
canHandleBlock, cleanup, generateWSDL, getDeploymentData, getName, getOption, getOptions, getUnderstoodHeaders, init, initHashtable, onFault, setName, setOption, setOptionDefault, setOptions, setOptionsLockable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoapDelegate

public SoapDelegate(CustodyConfiguration configuration)
             throws Exception
Throws:
Exception
Method Detail

invokeSoapCall

public String invokeSoapCall(String serviceName,
                             String operation,
                             String request)
                      throws Exception
Realiza una petición SOAP al servicio que se indica como parámetro

Parameters:
serviceName - Nombre del servicio a invocar
operation - Nombre de la operación a invocar
request - Petición XML a incluir en el mensaje SOAP
Returns:
XML con la respuesta del servidor
Throws:
Exception

invoke

public void invoke(org.apache.axis.MessageContext msgContext)
            throws org.apache.axis.AxisFault
Método delegado del handler.

Parameters:
msgContext - Instancia de MessageContext para la petición SOAP
Throws:
org.apache.axis.AxisFault


Copyright © 2016. All rights reserved.