org.ow2.frascati.wsdl
Class AbstractWsdlInvocationHandler

java.lang.Object
  extended by org.ow2.frascati.util.AbstractLoggeable
      extended by org.ow2.frascati.wsdl.AbstractWsdlInvocationHandler
All Implemented Interfaces:
java.lang.reflect.InvocationHandler

public abstract class AbstractWsdlInvocationHandler
extends AbstractLoggeable
implements java.lang.reflect.InvocationHandler

OW2 FraSCAti WSDL dynamic proxy invocation handler.

Version:
1.3
Author:
Philippe Merle

Field Summary
 
Fields inherited from class org.ow2.frascati.util.AbstractLoggeable
log
 
Constructor Summary
AbstractWsdlInvocationHandler()
           
 
Method Summary
protected static javax.xml.namespace.QName getQNameOfFirstArgument(java.lang.reflect.Method method)
           
protected static java.lang.String getTargetNamespace(java.lang.reflect.Method method)
          Get the targetNamespace of the @WebService annotating the class of the given method.
protected  java.lang.String marshallInvocation(java.lang.reflect.Method method, java.lang.Object[] args)
          Marshall invocation to an XML message.
protected static javax.xml.namespace.QName toQName(javax.jws.WebParam wp, java.lang.reflect.Method method)
          Compute the qname of a given @WebParam.
protected  java.lang.Object unmarshallResult(java.lang.reflect.Method method, java.lang.Object[] args, org.jdom.Element element)
          Unmarshall an XML message.
 
Methods inherited from class org.ow2.frascati.util.AbstractLoggeable
logDo, logDone, severe, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.lang.reflect.InvocationHandler
invoke
 

Constructor Detail

AbstractWsdlInvocationHandler

public AbstractWsdlInvocationHandler()
Method Detail

marshallInvocation

protected final java.lang.String marshallInvocation(java.lang.reflect.Method method,
                                                    java.lang.Object[] args)
                                             throws java.lang.Exception
Marshall invocation to an XML message.

Throws:
java.lang.Exception

unmarshallResult

protected final java.lang.Object unmarshallResult(java.lang.reflect.Method method,
                                                  java.lang.Object[] args,
                                                  org.jdom.Element element)
                                           throws java.lang.Exception
Unmarshall an XML message.

Throws:
java.lang.Exception

getTargetNamespace

protected static java.lang.String getTargetNamespace(java.lang.reflect.Method method)
Get the targetNamespace of the @WebService annotating the class of the given method.


toQName

protected static javax.xml.namespace.QName toQName(javax.jws.WebParam wp,
                                                   java.lang.reflect.Method method)
Compute the qname of a given @WebParam.


getQNameOfFirstArgument

protected static javax.xml.namespace.QName getQNameOfFirstArgument(java.lang.reflect.Method method)
                                                            throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2007-2010 OW2 Consortium. All Rights Reserved.