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 <ke...@ucla.edu> wrote:

From: keith <ke...@ucla.edu>
Subject: WSDL2Java, I want custom Java code
To: "Axis Users" <java-user@axis.apache.org>
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: java-user-unsubscr...@axis.apache.org
For additional commands, e-mail: java-user-h...@axis.apache.org



Reply via email to