I am forced to use the Websphere Axis libraries, and yes  generate
classes just fine. But I can't get them to adhere to MY interface, or
MAKE these Types extend an Abstract Class of my own. At least that I can
see.
I also have about 1,000 different types being generated in our project.
So, is there a way to make these java files extend my own Abstract
Class? What about making them extend my interface as well?
This way my interface for my ActionForms and the ComplexTypes are the
same and always in Sync. 

-----Original Message-----
From: Dave Newton [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 19, 2005 12:03 PM
To: Struts Users Mailing List
Subject: Re: [ot] Need Design help for Axis ComplextTypes to ActionForms
please...anyone?

Martin Gainty wrote:

> I'm assuming you have already used Axis wsdl2java to automate the 
> generation of the Java Class?
> http://ws.apache.org/axis/java/user-guide.html#WSDL2JavaBuildingStubsS
> keletonsAndDataTypesFromWSDL
>

Or if that doesn't do what you need, just write a simple script in
Perl/Python/Jython/Ruby/Lisp to parse the WSDL and write out the classes
for you; I use this strategy in one way or another quite often (usually
in Ruby now, used to use Jython).

Code generation good, hand-rolling bad.

Dave Newton
Technical Lead, Project MonkeyLips Omnigalgomon



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



"MMS <safeway.com>" made the following annotations.
------------------------------------------------------------------------------
Warning: 
All e-mail sent to this address will be received by the Safeway corporate 
e-mail system, and is subject to archival and review by someone other than the 
recipient.  This e-mail may contain information proprietary to Safeway and is 
intended only for the use of the intended recipient(s).  If the reader of this 
message is not the intended recipient(s), you are notified that you have 
received this message in error and that any review, dissemination, distribution 
or copying of this message is strictly prohibited.  If you have received this 
message in error, please notify the sender immediately. 
  
==============================================================================


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to