In DocLiteralInInterceptor, the following condition determines whether the wrapper is preserved when unmarshalling the parameters.
Currently, the parameters that I will get depending on whether service class (TypeClass) is provided. It is questionable that the condition is suitable for all DataBindings. For example, my endpoint uses SourceDataBinding which does not require to specify service class. So, when service class is provided, I get one parameter that wraps multi parts.
Otherwise, I get 2 parameters (in the example)
We should get consistent behavior regardless of whether service class is provided by users.
Here is my proposal to add a property to override the built-in condition (as in the attached patch). Free feel to come up with a better fix if you see fit.