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 (Employee.java, 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
