Good Morning Mick
Stupid question but I'll ask anyway ..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#WSDL2JavaBuildingStubsSkeletonsAndDataTypesFromWSDL
Martin-
----- Original Message ----- From: "Mick Knutson" <[EMAIL PROTECTED]>
To: <user@struts.apache.org>
Sent: Wednesday, October 19, 2005 2:36 PM
Subject: [ot] Need Design help for Axis ComplextTypes to ActionForms please...anyone?


I have a WSDL that is managed and generated by a different group than mine.
This wsdl has many complex types within complex types for each service. Thus
I get composite objects being generated, and we use a flattened version of
these objects in our Struts UI. But Currently, we create an ActionForm and
an interface that Mirrors the ComplextType that was generated, but has
additional fields for the fields.

Like I have a micrType that is an RTN and BankAccount, and my Action form
just has RTN and BankAccount instead of micrType.

I want to use the BeanUtils.copyProperties() but my names need to match. Thus when the names in the WSDL change, I am unable to get notified of that change directly, I just don't get those properties copied, and now I have a bug.

So, if I can't have the WSDL define Parent Abstract Classes for these types,
What am I suppose to do to keep some type of interface between my
ActionForms and my ComplextTypes? Besides going through by hand each time
there is an update and making changes by hand, then having to verify by hand
that the changes get reflected in my ActionForms?



Thank You
Mick Knutson

Sr. Java/J2EE Consultant
BASE logic, inc.
(415) 648-1804 (S.F., CA)
http://www.BASELogic.com

HP Consulting Services (Walnut Creek, CA)











"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]



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

Reply via email to