[prev in list] [next in list] [prev in thread] [next in thread] 

List:       axis-user
Subject:    Re: How to get parameter name of a method in a class compiled with
From:       Ognjen Blagojevic <ognjen () etf ! bg ! ac ! yu>
Date:       2007-03-30 15:38:13
Message-ID: 460D2EE5.8040900 () etf ! bg ! ac ! yu
[Download RAW message or body]

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: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic