Hi Ognjen,

Thanks for the info. I was trying to find how Axis 1.4 extracts the
parameter name. But anyhow your answer also give the similar effect. I
looked into the ClassReader in that package. It does something similar to
the BCEL. I will directly use BCEL.

Regards,
Xinjun


On 3/30/07, Ognjen Blagojevic <[EMAIL PROTECTED]> wrote:

Hi Chen,

> This question is about Axis 1.4. I know Axis can extract the parameter
> names of a method in a class compiled with -g option. During Java2WSDL,
> Axis does extract the parameter names to generate WSDL.
> Does anyone know how Axis achieve this?

As far as I can see, it uses ClassReader from package
org.apache.ws.java2wsdl.bytecode, to parse a .class file and obtain
parameter names. Class files must be compiled with "debug" option.

You can always download source and see for yourself.


Regards,
Ognjen

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


Reply via email to