In short, what I want to achieve is the ability to run wsdl2java and generate additional code. Has anyone done this and can offer hints / tips / advice, has someone done something similar with a different approach, will one go further than the question (much further)?
In long form:
Background:
We have third-party software that is widely used in many projects, but it does not have the ability to directly integrate with web services. With that in mind, we take wsdl, generate the client, and then we have a lot of template code that sits on top to provide integration. I spent some time lining, but I want the whole pig.
Current position:
I wrote a simple first-generation code generator that handles the creation of 95% of the code, but it reads in the manually written xml config, outputs the code using FileWriter (eugh), but I still need to write code to link it, passes the information to / from actual webservice client code. It was just a quick and dirty decision, as I needed it quickly, and also act as a POC.
Approach to solving this issue: I collect it in due time solely because I consider it an interesting problem, but, as such, I do not want to spend a lot of things on a dead end approach.
I believe that the way to achieve my goal is to write the extension of the code generation module as described here http://wso2.org/library/35 , I believe in writing this extension, I will get access to the wsdl axis model and can apply my own xslt.
If you agree and have done this, is there any advice you want to share or useful resources that you can point me to.
If you do not agree with my approach, I would be grateful for a brief review (I do not want to waste your time) on why and the proposal for a new agreement.