On 6/8/05, Daryoush Mehrtash <[EMAIL PROTECTED]> wrote: > > .ser file exist for one reason and one reason only. JSR 181 says that > name of a @WebParam by default is: > > > > Name of the parameter as it appears in the argument list. > > > > The issue is that this name gets lost after the class is compiled. The > original WSM was based on Reflection that there was no Serialized file. > > > > > An alternative solution is to require the JWS files to be compiled with > Debug option which preserves the argument names. > > > > Is it needed? Well it depends on your preferred method to get the > argument name: require the user to compile its JWS in debug, or keep > the serialized file. Is there a third option? >
The Controls runtime stores method parameter names into generated code associated with the original interface. These names are used to support named argument lookup during extensible method invocation.