xsul.soaprpc_client
Class SoapRpcInvocationHandler

java.lang.Object
  extended byxsul.soaprpc_client.SoapRpcInvocationHandler
All Implemented Interfaces:
java.lang.reflect.InvocationHandler

public class SoapRpcInvocationHandler
extends java.lang.Object
implements java.lang.reflect.InvocationHandler

This is a dynamic stub implementation (actual stub can be created with Java Dynamic Proxy) that understands generic SOAP invocation enveloping.

Version:
$Revision: 1.10 $
Author:
Aleksander Slominski

Constructor Summary
SoapRpcInvocationHandler(MessageInvoker invoker, TypeHandlerRegistry registry)
           
SoapRpcInvocationHandler(MessageInvoker invoker, TypeHandlerRegistry registry, XmlNamespace targetServiceNamespace)
           
 
Method Summary
 XmlElement getLastResponse()
          Return whole XML message that was received last as repsonse
 TypeHandlerRegistry getRegistry()
           
 XmlNamespace getTargetServiceNamespace()
           
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] params)
           
 void setRegistry(TypeHandlerRegistry registry)
           
 void setTargetServiceNamespace(XmlNamespace targetServiceNamespace)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoapRpcInvocationHandler

public SoapRpcInvocationHandler(MessageInvoker invoker,
                                TypeHandlerRegistry registry)

SoapRpcInvocationHandler

public SoapRpcInvocationHandler(MessageInvoker invoker,
                                TypeHandlerRegistry registry,
                                XmlNamespace targetServiceNamespace)
Method Detail

setRegistry

public void setRegistry(TypeHandlerRegistry registry)

getRegistry

public TypeHandlerRegistry getRegistry()

invoke

public java.lang.Object invoke(java.lang.Object proxy,
                               java.lang.reflect.Method method,
                               java.lang.Object[] params)
                        throws java.lang.Throwable
Specified by:
invoke in interface java.lang.reflect.InvocationHandler
Throws:
java.lang.Throwable

getLastResponse

public XmlElement getLastResponse()
Return whole XML message that was received last as repsonse


setTargetServiceNamespace

public void setTargetServiceNamespace(XmlNamespace targetServiceNamespace)

getTargetServiceNamespace

public XmlNamespace getTargetServiceNamespace()


IU Extreme! Lab (http://www.extreme.indiana.edu)