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

Tutorial mismatch with code

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.95
    • 0.96
    • om
    • None
    • n/a

    Description

      From reading the Axiom tutorial the serialize() method is supposed to serialize without caching the stream, in which case the object model is not supposed to be built. Calling serializeWithCache() forces the object model to be built (if not already constructed) along with the serialization.

      However, it looks like the serializeWithCache() method is no longer part of the API, and the serialize() method has changed to work the way serializeWithCache() originally did while a new serializeAndConsume() method does what serialize() was originally supposed to do. This creates serious confusion for anyone trying to understand Axiom and track down problems on the basis of the tutorial.

      Attachments

        Activity

          People

            eran chinthaka Eran Chinthaka
            dsosnoski Dennis M. Sosnoski
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: