cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <>
Subject Re: wsdl2java and existing domain objects
Date Thu, 12 Jun 2008 18:48:56 GMT

With JAXB  binding files, you can assign pre-generated "impl" types to  
the schema types.

for an example.


On Jun 12, 2008, at 11:30 AM, Ben Berner wrote:

> I have generated my domain classes (with middlegen tool for  
> hibernate) and
> there is a operation in my wsdl document that returns a domain  
> object (e.g.
> Employee), so I have to define that domain object as a port-type
> (<xs:complexType name="employee">...</>)in the wsdl document.  Now  
> when I
> run wsdl2java, won't this overwrite my pre-existing domain class
> (, that has been decorated with annotations for  
> persistence by
> hibernate), as wsdl2java will generate this type when going contract  
> first
> development?  Or is there a way, I can ask wsdl2java not to generate  
> that
> particular domain object and just reuse the existing class?
> Regards,
> Ben

Daniel Kulp

View raw message