1 Reply Latest reply on May 15, 2009 3:25 AM by Alessio Soldano

    @WebParam sucks, Any workarround or just wait Java7?

    steeven steeven Newbie

      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?