Ognjen:

Many thanks -- that worked.

It would be great if this was put into the FAQ and the manual.

Jared

Ognjen Blagojevic wrote:
This is a Java compiler issue.

When you compile your web service class, the resulting .class file have no information about parameter names. Since axis2 is parsing .class files, it can't know the original parameter name. Hence, it calls the parameters param0, param1 and so on.

Workaround for this problem is to compile classes with -g parameter, which will keep all kind of information in your .class files for debugging purposes, including parameter names. In this case, axis2 will use it and generate appropriate parameter names. In your case, "id".


(I really think this issue should be in FAQ.)

Regards,
Ognjen


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to