Just as Sanjiva mentioned, we have taken a different approach to code generation this time. The stubs are generated using an XSL template which gives us the capability of generating code in multiple languages with a mere change in the template.
I have made the basic infrastructure (actually some templates are already added ) to generate C# code as well. Note that this C# code is based on Axis2 libraries converted using IKVM! We have plans to ship standard templates for some other languages as well (Say C++)
So as you can see we have a tool that can generate stubs in many languages. It seems "unsuitable" to call it WSDL2Java :), WSDL2WS has a -l parameter which when omitted defaults to Java. Hence WSDL2WS acts the sameway as WSDL2Java when you forget about its language capability.
Really I have no objection in renaming it. But my feeling is whatever the name we give it should give the impression that it is not only Java.
BTW we are planning to deliver some IDE plugins for the code generator. The Eclipse plugin is already done and hopefully (if we have enough time :)) we might do some work for other IDE's as well. My guess is most of the users would start using the IDE plugin instead of the command line tool, in which case the attention to the name of the class would be less. Basically we can call it whatever we like :))
On 5/26/05, Sanjiva Weerawarana <[EMAIL PROTECTED]> wrote:
Hi Tom!
> > Renamed the WSDL2Java to WSDL2WS
>
> Sorry to jump in late here. I am really not a fan of naming the command
> WSDL2WS. What does 'WS' mean? Is this generating Java code? Notice
> that Axis 1.x has the WSDL2 structure, which allows you to implement
> other language back ends.
The reason it was changed is because it allows multiple target langs to
be generated. Right now Ajith has it generating C# stubs as well and has
run Axis2 inside .Net with IKVM and used the stubs from other .Net
stuff.
> I am -1 on changing the name of a tool as basic as WSDL2Java.
I'm ok with having a convenience class called WSDL2Java that sets the
target language to Java. However, we do need a name for the basic thing
which is capable of producing whatever language. (The code generator
uses XSLT stubs actually.)
What name do u suggest for the basic thing?
Sanjiva.
--
Ajith Ranabahu
