[ 
http://jira.codehaus.org/browse/XFIRE-761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_90873
 ] 

James Burton commented on XFIRE-761:
------------------------------------

I had a brief email conversation with someone about this and they said that 
their solution was to create an extra web service that contains get methods for 
ALL the shared domain objects and generate it last. They said that doing this 
produces a working object factory with everything in it.

Not ideal, but I might soon have to try it.

> Sharing domains objects results in ObjectFactory being overwritten by WSGEN
> ---------------------------------------------------------------------------
>
>                 Key: XFIRE-761
>                 URL: http://jira.codehaus.org/browse/XFIRE-761
>             Project: XFire
>          Issue Type: Improvement
>          Components: Generator
>    Affects Versions: 1.2.2
>         Environment: Java 1.5, ant 1.6.5, maven 2.0.4
>            Reporter: James Burton
>         Assigned To: Dan Diephouse
>            Priority: Minor
>
> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to