I use a mapping layer to go from WSDL generated to Domain Objects.  Since this 
is a legacy system and the domain objects are reversed out of a database with 
Hibernate we have information in the domain objects that is not relevent to the 
Web service interface. 

If you have the ability/desire to tightly couple the Web service to your 
domain, then maybe you don't need to do a mapping. I'ld be nervous.


>-----Original Message-----
>From: [email protected]
>Sent: 03/15/07 - 12:18
>To: [email protected]
>Subject: RE: Better way to map from axis generated objects to domain?
>
>Hello,
>
>Starting from a wsdl/schema, Axis will generate some plumbing
>code/objects
>to marshal/unmarshal xml.  Is there an easier way to map to/from these
>generated object to my corresponding domain objects?  Is anyone using
>any
>mapping layer to do this?  What are the best practices for insulating
>your
>existing java code from changes to the code generated by Axis?
>
>Thanks,
>
>Joshua



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

Reply via email to