|
jax-ws, wsimport how to handle dtos in several services? -
11-06-2008, 04:18 AM
hi all
i'm using wsimport to import a webservice (wsdl file) in my client project. on server side i have following package structure:
webservice.servicea
webservice.serviceb
webservice.servicec
webservice.dto
in dto are my dto objects, which i want to us in both services, servicea and serviceb. servicec only uses one object out of all my dtos. and now, if i import servicec wsdl with wsimport, he overwrites the ObjectFactory.java and kickes all other dtos out.
how do i solve this problem? do i have to write the ObjectFactory.java by myself? I can't find any flags or options to define this.
Can someone explain me, how this "really" works?
Thx!
|