No data transformation for fault types
--------------------------------------

                 Key: TUSCANY-2280
                 URL: https://issues.apache.org/jira/browse/TUSCANY-2280
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Data Binding Runtime
    Affects Versions: Java-SCA-1.1, Java-SCA-1.2
            Reporter: Cezary Wisniewski
             Fix For: Java-SCA-1.2, Java-SCA-1.1


DataTransformationInterceptor is not added to the InvocationChain when method 
has no parameters and no return type e.g.

void someMethod() throws MyException

DataTransformationInterceptor should be added to the chain because the 
exception has to be transformed. DataTransformationInterceptor is added to the 
chain and exception is transformed when the method has at least one parameter 
or return type e.g.

MyStruct someMethod() throws MyExcpetions
or
void someMethod(MyStruct param) throws MyException

The reason for such behavior is that DataBindingRuntimeWireProcessor only takes 
care of parameters and return types and ignores fault types (see 
DataBindingRuntimeWireProcessor.isTransformationRequired(Operation, Operation)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to