soaprmi.soaprpc
Class MethodInvoker

java.lang.Object
  extended bysoaprmi.soaprpc.MethodInvoker

public class MethodInvoker
extends java.lang.Object

All that is necessary to execute SOAP RPC call to specified remote method.

Version:
$Revision: 1.19 $
Author:
Aleksander Slominski

Method Summary
 java.lang.String getMethodRequestName()
           
 java.lang.String getSoapAction()
           
 java.lang.Object invoke(java.lang.Object[] params, java.io.Writer writer, java.io.Reader reader)
           
static MethodInvoker makeMethodInvoker(Port port, Endpoint epoint, java.lang.reflect.Method m, XmlJavaMapping mapping)
           
static MethodInvoker makeMethodInvoker(java.lang.String methodNs, java.lang.Class returnType, java.lang.String methodRequestName, java.lang.Class[] parameterTypes, java.lang.String[] parameterNames, java.lang.String soapAction, XmlJavaMapping mapping)
           
 java.lang.Object receiveResponse(java.io.Reader reader_)
           
 void sendRequest(java.lang.Object[] params, java.io.Writer writer_)
           
 void setMapping(XmlJavaMapping mapping)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getMethodRequestName

public java.lang.String getMethodRequestName()

getSoapAction

public java.lang.String getSoapAction()

setMapping

public void setMapping(XmlJavaMapping mapping)

makeMethodInvoker

public static MethodInvoker makeMethodInvoker(Port port,
                                              Endpoint epoint,
                                              java.lang.reflect.Method m,
                                              XmlJavaMapping mapping)
                                       throws RemoteException
Throws:
RemoteException

makeMethodInvoker

public static MethodInvoker makeMethodInvoker(java.lang.String methodNs,
                                              java.lang.Class returnType,
                                              java.lang.String methodRequestName,
                                              java.lang.Class[] parameterTypes,
                                              java.lang.String[] parameterNames,
                                              java.lang.String soapAction,
                                              XmlJavaMapping mapping)
                                       throws RemoteException
Throws:
RemoteException

invoke

public java.lang.Object invoke(java.lang.Object[] params,
                               java.io.Writer writer,
                               java.io.Reader reader)
                        throws java.lang.Throwable
Throws:
java.lang.Throwable

sendRequest

public void sendRequest(java.lang.Object[] params,
                        java.io.Writer writer_)
                 throws java.io.IOException,
                        RemoteException,
                        SerializeException
Throws:
java.io.IOException
RemoteException
SerializeException

receiveResponse

public java.lang.Object receiveResponse(java.io.Reader reader_)
                                 throws java.io.IOException,
                                        RemoteException,
                                        SoapException,
                                        org.gjt.xpp.XmlPullParserException
Throws:
java.io.IOException
RemoteException
SoapException
org.gjt.xpp.XmlPullParserException


Copyright (c) 2004 IU Extreme! Lab http://www.extreme.indiana.edu/ All Rights Reserved.