[jbossws-dev] [Design of JBoss Web Services] - @WebParam sucks, Any workarround or just wait Java7?

steeven do-not-reply at jboss.com
Thu May 14 20:25:27 EDT 2009


To generate a nice WSDL, many stupid @WebParam annotations should be hardcoding to code:
public User create(
  |     @WebParam(name = "name")  String name,
  |     @WebParam(name = "passowrd" String password);

I foud [url=http://paranamer.codehaus.org/]ParaNamer[/ur] has two solution for this issue, the first requires special compiler process, and the second read debug information from class file, see BytecodeReadingParanamer. it should be a fast solution currently.

or the 3rd way, post process existing jars + code, add @WebParm with bytecode engineering.

Does JBossWS already have such solution?

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231180#4231180

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231180



More information about the jbossws-dev mailing list