You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Dennis Sosnoski (JIRA)" <ji...@apache.org> on 2006/03/25 06:55:21 UTC

[jira] Created: (AXIS2-514) Tutorial mismatch with code

Tutorial mismatch with code
---------------------------

         Key: AXIS2-514
         URL: http://issues.apache.org/jira/browse/AXIS2-514
     Project: Apache Axis 2.0 (Axis2)
        Type: Bug
  Components: om  
    Versions: 0.95    
 Environment: n/a
    Reporter: Dennis Sosnoski
    Priority: Minor


>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.

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


[jira] Assigned: (AXIS2-514) Tutorial mismatch with code

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-514?page=all ]

Deepal Jayasinghe reassigned AXIS2-514:
---------------------------------------

    Assign To: Eran Chinthaka

> Tutorial mismatch with code
> ---------------------------
>
>          Key: AXIS2-514
>          URL: http://issues.apache.org/jira/browse/AXIS2-514
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>   Components: om
>     Versions: 0.95
>  Environment: n/a
>     Reporter: Dennis Sosnoski
>     Assignee: Eran Chinthaka
>     Priority: Minor

>
> 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.

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


[jira] Resolved: (AXIS2-514) Tutorial mismatch with code

Posted by "Eran Chinthaka (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-514?page=all ]
     
Eran Chinthaka resolved AXIS2-514:
----------------------------------

    Fix Version: 0.96
     Resolution: Fixed

Fixed in rev390873 of Axis2 and Axiom.

> Tutorial mismatch with code
> ---------------------------
>
>          Key: AXIS2-514
>          URL: http://issues.apache.org/jira/browse/AXIS2-514
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug

>   Components: om
>     Versions: 0.95
>  Environment: n/a
>     Reporter: Dennis Sosnoski
>     Assignee: Eran Chinthaka
>     Priority: Minor
>      Fix For: 0.96

>
> 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.

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