folllowing is the purposed frmweork. Please help me improve this. Am willing to rewrite this after we brinstorm on this.
The tool has two parts
The following files should be parsed and populated behind a interface so that the parsing logic does not represent by the interface. the purposed interface is J2EEWebServiceContext
org.apache.x.ws4j2ee.context.WSDLContext
interface. As most of the classes in the Symboltable implements interfaces used
here (javax.wsdl.*) it can be easily wrapped. framework is done with two interfaces.
Genarator has one or more writer inside it. genarate() method will call the writers one by one.
The Factories org.apache.x.ws4j2ee.toWs.WriterFactory ,org.apache.x.ws4j2ee.toWs.GenaratorFactory and the Constants (org.apache.x.ws4j2ee.toWs.GenarationConstants ) are use to hide the Concreate implementations of the genarators and writers. New concreate Writer or Generator can added by changing the Factory class. Only place the concreate classes referances are inside the Factories