Hi Keith, I think you can do that. Well codegen(wsdl2java) uses xsl templates and data-binding to convert emitted xml into java classes.
I'm sure on modifying generated skeleton and skeleton interface, callback message manager java code by modifying templates present under axis2-1.3\modules\codegen\src\org\apache\axis2\wsdl\template\java. Thanks, Mohit --- On Mon, 3/5/10, keith <[email protected]> wrote: From: keith <[email protected]> Subject: WSDL2Java, I want custom Java code To: "Axis Users" <[email protected]> Date: Monday, 3 May, 2010, 11:41 AM Hi Axis Users, I use Axis's WSDL2Java emitter to generate Java classes from a WSDL document. I want to add custom methods to an emitted class in a way that is compatible with WSDL and the emitter. Is there a way to embed arbitrary Java code in a WSDL document so that it is added unchanged to the Java source code WSDL2Java generates? Perhaps in a CDATA section? Or, what is the best way to accomplish my goal? Should I use an extension mechanism? Thanks, Keith --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
