Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Java-SCA-1.4
-
None
-
All
Description
There are two parts to this
First, the code for nativeOperation handling is in the wrong place. It's in the reference side rather than the service side. I.e. the HeaderReferenceInterceptor shouldn't be trying to do anything with it.
What I believe should happen is that in the service side operation selector we should...
generate an operation name as defined in the default operation selector algorithm in the spec
use this operation name to locate an operation properties using the operationProperties/@name attirbute
use this operationProperties/@nativeOperation attribute to find the real operation to call.
It seems useful to show how to generate a new, non-default operation selector, to allow the user to specific which propery in the message the operation name will be pulled. This is not defined in the specification. But is does motivate us to put the native operation processing in a separate interceptor so that regardless of which operation selector is used to choose the operation name the same nativeOperation processing can be applied