XFire
  1. XFire
  2. XFIRE-761

Sharing domains objects results in ObjectFactory being overwritten by WSGEN

    Details

    • Type: Improvement Improvement
    • Status: Open Open
    • Priority: Minor 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 :
      0

      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

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Dan Diephouse
            Reporter:
            James Burton
          • Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated: