[ 
https://issues.apache.org/jira/browse/TUSCANY-2280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12593373#action_12593373
 ] 

Raymond Feng commented on TUSCANY-2280:
---------------------------------------

Is your interface a remotable interface? for example, a WSDL portType or a java 
interface with @Remotable annotation. 

Please also attach a test case (I assume you are trying it:-).

Thanks,
Raymond

> 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.1, Java-SCA-1.2
>
>
> 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