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 "Rich Scheuerle (JIRA)" <ji...@apache.org> on 2007/04/10 20:09:33 UTC

[jira] Created: (AXIS2-2498) JAX-WS Reader2Writer utility bug

JAX-WS Reader2Writer utility bug
--------------------------------

                 Key: AXIS2-2498
                 URL: https://issues.apache.org/jira/browse/AXIS2-2498
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: jaxws
            Reporter: Rich Scheuerle
         Assigned To: Rich Scheuerle


The JAXWS implementation has a utility, Reader2Writer, which converts an XMLStreamReader to an XMLStreamWriter.

During stress testing a bug was encountered.  We were using OMNode.serializeAndConsume to convert the input OM (XMLStreamReader) into an XMLStreamWriter.  This caused problems if  caching is enabled on the xmlstreamreader.

This code is not in a performant flow.  So to work-around the problem I am going to change the code to use OMNode.serialize().  I also added a TODO statement 
to investigate whether this is a symptom of an underlying OM problem.

I will commit the changes after I complete some more testing.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-2498) JAX-WS Reader2Writer utility bug

Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rich Scheuerle resolved AXIS2-2498.
-----------------------------------

    Resolution: Fixed

Committed revision 527234.


> JAX-WS Reader2Writer utility bug
> --------------------------------
>
>                 Key: AXIS2-2498
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2498
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Rich Scheuerle
>         Assigned To: Rich Scheuerle
>
> The JAXWS implementation has a utility, Reader2Writer, which converts an XMLStreamReader to an XMLStreamWriter.
> During stress testing a bug was encountered.  We were using OMNode.serializeAndConsume to convert the input OM (XMLStreamReader) into an XMLStreamWriter.  This caused problems if  caching is enabled on the xmlstreamreader.
> This code is not in a performant flow.  So to work-around the problem I am going to change the code to use OMNode.serialize().  I also added a TODO statement 
> to investigate whether this is a symptom of an underlying OM problem.
> I will commit the changes after I complete some more testing.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org