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:
InvocationHandler

public abstract class AbstractWsdlInvocationHandler
extends AbstractLoggeable
implements 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 QName getQNameOfFirstArgument(Method method)
           
protected static String getTargetNamespace(Method method)
          Get the targetNamespace of the @WebService annotating the class of the given method.
protected  String marshallInvocation(Method method, Object[] args)
          Marshall invocation to an XML message.
protected static QName toQName(javax.jws.WebParam wp, Method method)
          Compute the qname of a given @WebParam.
protected  Object unmarshallResult(Method method, 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 String marshallInvocation(Method method,
                                          Object[] args)
                                   throws Exception
Marshall invocation to an XML message.

Throws:
Exception

unmarshallResult

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

Throws:
Exception

getTargetNamespace

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


toQName

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


getQNameOfFirstArgument

protected static QName getQNameOfFirstArgument(Method method)
                                        throws Exception
Throws:
Exception


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