Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.2.2
-
Fix Version/s: None
-
Component/s: Generator
-
Labels:None
-
Environment:Java 1.5, ant 1.6.5, maven 2.0.4
-
Number of attachments :
Description
I have several webservices on different WSDLs, served up using the JSR181 annotations.
I would like to have the different services use and share the common domain objects, that is, objects in the same package.
Using wsgen to generate code, it all works fine, except that when I try to use common domain objects the ObjectFactory class gets overwritten by the last wsgen task that run.
This means that I cannot use common objects in different services, every service must use its own, private objects.
Can this be changed so that the ObjectFactory is added to rather than overwritten? Or is there something else I can do?
Thanks again,
James
Dan, this is the problem you and I were noodling when it wasn't clear why things weren't working for me while you were at TSS and so graciously took the time to look at the issue. Many thanks for your time!
The <wsdls> list in the plugin seems very very handy, but this is a rather obscure problem to a XFire n00b like myself and probably others if they were to hit it.