Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-4458

JABRI: Multiple JAXBContext creation

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 1.5
    • 1.5.1
    • codegen
    • None

    Description

      I use the lastest Axis2 1.5 release with JAXB databinding and wsdl2java for class generation.
      The generated classes work, but each operation/class has it's own JAXBContext object.
      According to [1] this isn't nessassary anymore in JAXB2.0.
      A single JAXBContext per application is the prefered way.

      So I modified the XSLT template in jaxbri-1.5.jar (which als solves AXIS2-4042).
      This new template generates just one JAXBContext per MessageReceiverInOut class.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            derjust Sebastian J.
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment